Tabnine Logo
OneOf
Code IndexAdd Tabnine to your IDE (free)

How to use
OneOf
in
org.apache.polygene.library.constraints.annotation

Best Java code snippets using org.apache.polygene.library.constraints.annotation.OneOf (Showing top 15 results out of 315)

origin: org.apache.polygene.libraries/org.apache.polygene.library.http

/**
 * @return Type of the keystore that contains the {@link SecureJettyService} certificate.
 */
@OneOf( { "PKCS12", "JCEKS", "JKS" } )
Property<String> keystoreType();
origin: org.apache.polygene.libraries/org.apache.polygene.library.constraints

@Override
public boolean isValid( OneOf oneOf, String value )
{
  for( int i = 0; i < oneOf.value().length; i++ )
  {
    String possibleValue = oneOf.value()[ i];
    if( possibleValue.equals( value ) )
    {
      return true;
    }
  }
  return false;
}
origin: apache/attic-polygene-java

/**
 * @return Type of the keystore that contains the {@link SecureJettyService} certificate.
 */
@OneOf( { "PKCS12", "JCEKS", "JKS" } )
Property<String> keystoreType();
origin: apache/attic-polygene-java

@Override
public boolean isValid( OneOf oneOf, String value )
{
  for( int i = 0; i < oneOf.value().length; i++ )
  {
    String possibleValue = oneOf.value()[ i];
    if( possibleValue.equals( value ) )
    {
      return true;
    }
  }
  return false;
}
origin: apache/attic-polygene-java

/**
 * @return Type of the keystore that contains the certificates trusted by the {@link SecureJettyService}.
 */
@Optional
@OneOf( { "PKCS12", "JCEKS", "JKS" } )
Property<String> truststoreType();
origin: apache/attic-polygene-java

/**
 * Heap tier size unit.
 *
 * @return Heap tier size unit
 */
@OneOf( { "B", "KB", "MB", "GB", "TB", "PB" } )
@UseDefaults( "MB" )
Property<String> heapUnit();
origin: org.apache.polygene.libraries/org.apache.polygene.library.http

/**
 * @return Type of the keystore that contains the certificates trusted by the {@link SecureJettyService}.
 */
@Optional
@OneOf( { "PKCS12", "JCEKS", "JKS" } )
Property<String> truststoreType();
origin: apache/attic-polygene-java

/**
 * Type of the keystore used for client certificate authentication.
 *
 * @return Type of the keystore used for client certificate authentication
 */
@Optional
@OneOf( { "PKCS12", "JCEKS", "JKS" } )
Property<String> keystoreType();
origin: apache/attic-polygene-java

/**
 * Off-heap tier size unit.
 *
 * @return Off-heap tier size unit
 */
@OneOf( { "B", "KB", "MB", "GB", "TB", "PB" } )
@UseDefaults( "MB" )
Property<String> offHeapUnit();
origin: apache/attic-polygene-java

/**
 * Type of the keystore used for server certificate authentication.
 *
 * @return Type of the keystore used for server certificate authentication
 */
@Optional
@OneOf( { "PKCS12", "JCEKS", "JKS" } )
Property<String> truststoreType();
origin: apache/attic-polygene-java

/**
 * Disk tier size unit.
 *
 * @return Disk tier size unit
 */
@OneOf( { "B", "KB", "MB", "GB", "TB", "PB" } )
@UseDefaults( "MB" )
Property<String> diskUnit();
origin: apache/attic-polygene-java

/**
 * Unit for maximum size of cached objects.
 *
 * @return Unit for maximum size of cached objects
 */
@OneOf( { "B", "KB", "MB", "GB", "TB", "PB" } )
@UseDefaults( "MB" )
Property<String> maxObjectSizeUnit();
origin: apache/attic-polygene-java

/**
 * Expiry policy.
 *
 * @return Expiry policy
 */
@OneOf( { "NONE", "TIME_TO_IDLE", "TIME_TO_LIVE" } )
@UseDefaults( "NONE" )
Property<String> expiry();
origin: apache/attic-polygene-java

  /**
   * Expiry time unit.
   *
   * @return Expiry time unit
   */
  @OneOf( { "MILLISECONDS", "SECONDS", "MINUTES", "HOURS", "DAYS" } )
  @UseDefaults( "SECONDS" )
  Property<String> expiryTimeUnit();
}
origin: apache/attic-polygene-java

@OneOf( { "Bar", "Xyzzy" } ) Property<String> oneOf();
org.apache.polygene.library.constraints.annotationOneOf

Most used methods

  • <init>
  • value

Popular in Java

  • Updating database using SQL prepared statement
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Menu (java.awt)
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now