void decreasedBalance( @GreaterThan( 0 ) Integer amount );
void increasedBalance( @GreaterThan( 0 ) Integer amount );
/** * Maximum number of intermediate certificates in the PKIX path. * * Set to -1 for unlimited. Defaulted to -1. * * @return Maximum number of intermediate certificates in the PKIX path */ @Optional @GreaterThan( -2 ) Property<Integer> maxCertPathLength();
/** * @return The size of the buffer to be used for response headers in bytes. */ @Optional @GreaterThan( 0 ) Property<Integer> responseHeaderSize();
/** * @return Maximum Form content size. */ @Optional @GreaterThan( 0 ) Property<Integer> maxFormContentSize();
/** * Timeout use to wait for active requests to terminate on shutdown in milliseconds. * * Jetty will stop gracefully only if this property is set. * * @return Timeout use to wait for active requests to terminate on shutdown in milliseconds. */ @Optional @GreaterThan( 0 ) Property<Integer> gracefullShutdownTimeout();
/** * Size of the content buffer for sending responses in bytes. * * These buffers are only used for active connections that are sending responses with bodies that will not fit * within the header buffer. * * @return The size of the content buffer for sending responses in bytes. */ @Optional @GreaterThan( 0 ) Property<Integer> responseBufferSize();
public void transfer( @GreaterThan( 0 ) int amount ) throws IllegalArgumentException { sourceAccount.transfer( amount ); }
/** * @return The size of the buffer to be used for response headers in bytes. */ @Optional @GreaterThan( 0 ) Property<Integer> responseHeaderSize();
/** * Maximum number of intermediate certificates in the PKIX path. * * Set to -1 for unlimited. Defaulted to -1. * * @return Maximum number of intermediate certificates in the PKIX path */ @Optional @GreaterThan( -2 ) Property<Integer> maxCertPathLength();
/** * @return The size of the buffer to be used for request headers in bytes. */ @Optional @GreaterThan( 0 ) Property<Integer> requestHeaderSize();
/** * @return Maximum Form content size. */ @Optional @GreaterThan( 0 ) Property<Integer> maxFormContentSize();
/** * @return The size of the buffer to be used for request headers in bytes. */ @Optional @GreaterThan( 0 ) Property<Integer> requestHeaderSize();
/** * Size of the content buffer for sending responses in bytes. * * These buffers are only used for active connections that are sending responses with bodies that will not fit * within the header buffer. * * @return The size of the content buffer for sending responses in bytes. */ @Optional @GreaterThan( 0 ) Property<Integer> responseBufferSize();
/** * Timeout use to wait for active requests to terminate on shutdown in milliseconds. * * Jetty will stop gracefully only if this property is set. * * @return Timeout use to wait for active requests to terminate on shutdown in milliseconds. */ @Optional @GreaterThan( 0 ) Property<Integer> gracefullShutdownTimeout();
public void testParameters( @GreaterThan( 10 ) Integer greaterThan ) { } }
void testParameters( @GreaterThan( 10 ) Integer greaterThan ); // END SNIPPET: constraints
@GreaterThan( 10 ) Property<Integer> greaterThan();