/** * @return Type of the keystore that contains the {@link SecureJettyService} certificate. */ @OneOf( { "PKCS12", "JCEKS", "JKS" } ) Property<String> keystoreType();
/** * @return Port on which the {@link JettyService} will listen for incomming requests. */ @Range( min = 0, max = 65535 ) Property<Integer> port();
@Matches( "(ssh|rlogin|telnet)" ) Property<String> protocol(); }
public void testParameters( @GreaterThan( 10 ) Integer greaterThan ) { } }
@NotEmpty Property<String> otherProperty(); }
@MinLength( 3 ) Property<String> minLength();
@Email Property<String> email();
@Contains( "foo" ) Property<String> containsString();
/** * @return Port on which the {@link JettyService} will listen for incomming requests. */ @Range( min = 0, max = 65535 ) Property<Integer> port();
/** * @return Type of the keystore that contains the {@link SecureJettyService} certificate. */ @OneOf( { "PKCS12", "JCEKS", "JKS" } ) Property<String> keystoreType();
void testParameters( @GreaterThan( 10 ) Integer greaterThan ); // END SNIPPET: constraints
@NotEmpty Property<String> stuff(); }
@Matches( "a*b*c*" ) Property<String> matches();
@Range( min=0, max=65535 ) Property<Integer> portNumber();
@GreaterThan( 10 ) Property<Integer> greaterThan();
@NotEmpty Property<String> notEmptyString();
@NotEmpty Property<Collection> notEmptyCollection();
@NotEmpty Property<List> notEmptyList();