@Override public Pof compose(Pof other) { return new Pof(this.configUri == null ? other.configUri : this.configUri, this.enabled == null ? other.enabled : this.enabled); }
/** * Obtains a {@link Pof} based on the specified parameter. * * @param enabled is {@link Pof} to be enabled? * * @return a {@link Pof} based on the specified parameter */ public static Pof enabled(boolean enabled) { return new Pof(null, enabled); }
@Override public Pof compose(Pof other) { return new Pof(this.configUri == null ? other.configUri : this.configUri, this.enabled == null ? other.enabled : this.enabled); }
/** * Obtains a {@link Pof} for the specified config uri. * * @param configUri the uri for the {@link Pof} configuration * * @return a {@link Pof} for the specified config uri */ public static Pof config(String configUri) { return new Pof(configUri, null); }
/** * Obtains a {@link Pof} that is disabled. * * @return a disabled {@link Pof} */ public static Pof disabled() { return new Pof(null, false); }
/** * Obtains a {@link Pof} based on the specified parameter. * * @param enabled is {@link Pof} to be enabled? * * @return a {@link Pof} based on the specified parameter */ public static Pof enabled(boolean enabled) { return new Pof(null, enabled); }
/** * Obtains a {@link Pof} that is enabled. * * @return a disabled {@link Pof} */ public static Pof enabled() { return new Pof(null, true); }
/** * Obtains a {@link Pof} that is enabled. * * @return a disabled {@link Pof} */ public static Pof enabled() { return new Pof(null, true); }
/** * Obtains a {@link Pof} for the specified config uri. * * @param configUri the uri for the {@link Pof} configuration * * @return a {@link Pof} for the specified config uri */ public static Pof config(String configUri) { return new Pof(configUri, null); }
/** * Obtains a {@link Pof} that is disabled. * * @return a disabled {@link Pof} */ public static Pof disabled() { return new Pof(null, false); }
@Override public Pof compose(Pof other) { return new Pof(this.configUri == null ? other.configUri : this.configUri, this.enabled == null ? other.enabled : this.enabled); }
/** * Obtains a {@link Pof} based on the specified parameter. * * @param enabled is {@link Pof} to be enabled? * * @return a {@link Pof} based on the specified parameter */ public static Pof enabled(boolean enabled) { return new Pof(null, enabled); }
/** * Obtains a {@link Pof} that is disabled. * * @return a disabled {@link Pof} */ public static Pof disabled() { return new Pof(null, false); }
/** * Obtains a {@link Pof} that is enabled. * * @return a disabled {@link Pof} */ public static Pof enabled() { return new Pof(null, true); }
/** * Obtains a {@link Pof} for the specified config uri. * * @param configUri the uri for the {@link Pof} configuration * * @return a {@link Pof} for the specified config uri */ public static Pof config(String configUri) { return new Pof(configUri, null); }