/** * Constructs a {@link MetaClass} for a {@link JavaApplication}. */ @OptionsByType.Default public MetaClass() { }
/** * Constructs a {@link Caching}. * * @param enabled is caching enabled? * @param options the {@link Option}s for {@link Caching} */ private Caching(boolean enabled, Option... options) { this.enabled = enabled; this.optionsByType = options == null || options.length == 0 ? OptionsByType.empty() : OptionsByType.of(options); }
/** * Constructs an {@link ExpressionEvaluator} based on the specified {@link OptionsByType}. * * @param optionsByType the {@link OptionsByType} */ public ExpressionEvaluator(OptionsByType optionsByType) { this(optionsByType.get(Variables.class)); }
/** * Create a new {@link HttpDeployer}. * * @param options the {@link Option}s controlling this {@link HttpDeployer} */ public HttpDeployer(Option... options) { this.optionsByType = OptionsByType.of(options); }
/** * Constructs an empty {@link OptionsByType} collection. * * @return an empty {@link OptionsByType} collection */ static OptionsByType empty() { return new Options(); }
@Override public boolean contains(Class<? extends Option> classOfOption) { return get(classOfOption) != null; }
@Override public Options addAll(Option... options) { if (options != null) { for (Option option : options) { add(option); } } return this; }
/** * Constructs a {@link MetaClass} for a {@link CoherenceClusterMember}. */ @OptionsByType.Default public MetaClass() { }
/** * Constructs a new {@link OptionsByType} based on another {@link OptionsByType} * * @param optionsByType the {@link OptionsByType}s * * @return a new {@link OptionsByType} containing the {@link Option}s in the * specified {@link OptionsByType} parameter */ static OptionsByType of(OptionsByType optionsByType) { return new Options(optionsByType); }
/** * Create an empty {@link Arguments} instance. * * @return an empty {@link Arguments} instance */ @OptionsByType.Default public static Arguments empty() { return EMPTY; } }
/** * Constructs an empty {@link OptionsByType} collection. * * @return an empty {@link OptionsByType} collection */ static OptionsByType empty() { return new Options(); }
/** * Constructs a {@link MetaClass} for a {@link JavaApplication}. */ @OptionsByType.Default public MetaClass() { }
/** * Obtains the standard {@link Separator}. * * @return the standard {@link Separator} */ @OptionsByType.Default public static Separator standard() { return STANDARD; } }
/** * Obtain a {@link Width} that is configured for automatic detection. * * @return an automatic {@link Width} */ @OptionsByType.Default public static Width autodetect() { return AUTODETECT; }
/** * Constructs a {@link MetaClass} for a {@link JavaApplication}. */ @OptionsByType.Default public MetaClass() { }
/** * Constructs a {@link MetaClass} for a {@link Application}. */ @OptionsByType.Default public MetaClass() { }
/** * Create an empty {@link Arguments} instance. * * @return an empty {@link Arguments} instance */ @OptionsByType.Default public static Arguments empty() { return EMPTY; } }
/** * Constructs a {@link MetaClass} for a {@link Application}. */ @OptionsByType.Default public MetaClass() { }