@Test public void testIsValidContainerNameForInvalidNames() { Arrays.stream(invalidContainerNames).forEach(name -> assertFalse(service.isValidContainerName(name))); }
@Override public boolean isValidContainerName(final String containerName) { return containerName != null && containerName.matches("[A-Za-z0-9_\\-.:]+"); }
ProvisioningValidationServiceImpl implements ProvisioningValidationService { @Override public boolean isValidContainerName(final String containerName) { return containerName != null && containerName.matches("[A-Za-z0-9_\\-.:]+"); } }
ProvisioningValidationServiceImpl implements ProvisioningValidationService { @Override public boolean isValidContainerName(final String containerName) { return containerName != null && containerName.matches("[A-Za-z0-9_\\-.:]+"); } ProvisioningValidationServiceImpl(); }
ProvisioningValidationServiceImpl implements ProvisioningValidationService { @Override public boolean isValidContainerName(final String containerName) { return containerName != null && containerName.matches("[A-Za-z0-9_\\-.:]+"); } ProvisioningValidationServiceImpl(); @Override boolean isValidContainerName(final String containerName); }
ProvisioningValidationServiceImpl implements ProvisioningValidationService { @Override public boolean isValidContainerName(final String containerName) { return containerName != null && containerName.matches("[A-Za-z0-9_\\-.:]+"); } ProvisioningValidationServiceImpl(); @Override boolean isValidContainerName(final String containerName);  }