本文整理了Java中org.osgi.service.metatype.annotations.Option.<init>()
方法的一些代码示例,展示了Option.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Option.<init>()
方法的具体详情如下:
包路径:org.osgi.service.metatype.annotations.Option
类名称:Option
方法名:<init>
暂无
代码示例来源:origin: Adobe-Consulting-Services/acs-aem-commons
@AttributeDefinition(name="CMYK ICC Profile",description="ICC Profile for CMYK to RGB Conversion", defaultValue=DEFAULT_CMYK_PROFILE,
options= {
@Option(label = "CoatedFOGRA27", value = "CoatedFOGRA27"),
@Option(label = "CoatedFOGRA39", value = "CoatedFOGRA39"),
@Option(label = "JapanColor2001Coated", value = "JapanColor2001Coated"),
@Option(label = "JapanColor2001Uncoated", value = "JapanColor2001Uncoated"),
@Option(label = "JapanColor2002Newspaper", value = "JapanColor2002Newspaper"),
@Option(label = "JapanWebCoated", value = "JapanWebCoated"),
@Option(label = "UncoatedFOGRA29", value = "UncoatedFOGRA29"),
@Option(label = "USSheetfedCoated", value = "USSheetfedCoated"),
@Option(label = "USSheetfedUncoated", value = "USSheetfedUncoated"),
@Option(label = "USWebCoatedSWOP", value = "USWebCoatedSWOP"),
@Option(label = "USWebUncoated", value = "USWebUncoated"),
@Option(label = "WebCoatedFOGRA28", value = "WebCoatedFOGRA28")
})
String cmyk_icc_profile() default DEFAULT_CMYK_PROFILE;
代码示例来源:origin: Adobe-Consulting-Services/acs-aem-commons
description = "Day of week on which content expires.",
options = {
@Option(value = "" + Calendar.SUNDAY, label = "Sunday"),
@Option(value = "" + Calendar.MONDAY, label = "Monday"),
@Option(value = "" + Calendar.TUESDAY, label = "Tuesday"),
@Option(value = "" + Calendar.WEDNESDAY, label = "Wednesday"),
@Option(value = "" + Calendar.THURSDAY, label = "Thursday"),
@Option(value = "" + Calendar.FRIDAY, label = "Friday"),
@Option(value = "" + Calendar.SATURDAY, label = "Saturday"),
代码示例来源:origin: apache/jackrabbit-oak
@Option(label = TYPE_DEFAULT, value = TYPE_DEFAULT),
@Option(label = TYPE_METRIC, value = TYPE_METRIC),
@Option(label = TYPE_NONE, value = TYPE_NONE)
})
String providerType() default TYPE_AUTO;
代码示例来源:origin: org.apache.jackrabbit/oak-core
@Option(label = TYPE_DEFAULT, value = TYPE_DEFAULT),
@Option(label = TYPE_METRIC, value = TYPE_METRIC),
@Option(label = TYPE_NONE, value = TYPE_NONE)
})
String providerType() default TYPE_AUTO;
代码示例来源:origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak
@Option(label = TYPE_DEFAULT, value = TYPE_DEFAULT),
@Option(label = TYPE_METRIC, value = TYPE_METRIC),
@Option(label = TYPE_NONE, value = TYPE_NONE)
})
String providerType() default TYPE_AUTO;
代码示例来源:origin: Adobe-Consulting-Services/acs-aem-commons
@Option(value = "NONE", label = "None (disabled)"),
@Option(value = "TRACE", label = "Trace"),
@Option(value = "DEBUG", label = "Debug"),
@Option(value = "INFO", label = "Information"),
@Option(value = "WARN", label = "Warnings"),
@Option(value = "ERROR", label = "Error")})
String event_logger_level() default DEFAULT_LEVEL;
代码示例来源:origin: apache/jackrabbit-oak
cardinality = 4,
options = {
@Option(label = "AccessControlAction", value = "org.apache.jackrabbit.oak.spi.security.user.action.AccessControlAction"),
@Option(label = "PasswordValidationAction", value = "org.apache.jackrabbit.oak.spi.security.user.action.PasswordValidationAction"),
@Option(label = "PasswordChangeAction", value = "org.apache.jackrabbit.oak.spi.security.user.action.PasswordChangeAction"),
@Option(label = "ClearMembershipAction", value = "org.apache.jackrabbit.oak.spi.security.user.action.ClearMembershipAction")
})
String[] enabledActions();
代码示例来源:origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak
cardinality = 4,
options = {
@Option(label = "AccessControlAction", value = "org.apache.jackrabbit.oak.spi.security.user.action.AccessControlAction"),
@Option(label = "PasswordValidationAction", value = "org.apache.jackrabbit.oak.spi.security.user.action.PasswordValidationAction"),
@Option(label = "PasswordChangeAction", value = "org.apache.jackrabbit.oak.spi.security.user.action.PasswordChangeAction"),
@Option(label = "ClearMembershipAction", value = "org.apache.jackrabbit.oak.spi.security.user.action.ClearMembershipAction")
})
String[] enabledActions();
代码示例来源:origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak
cardinality = 2,
options = {
@Option(label = "USER_MANAGEMENT", value = "USER_MANAGEMENT"),
@Option(label = "REMOVE_NODE", value = "REMOVE_NODE")
})
String permissionsJr2();
description = "Behavior for access control related items upon XML import.",
options = {
@Option(label = ImportBehavior.NAME_ABORT, value = ImportBehavior.NAME_ABORT),
@Option(label = ImportBehavior.NAME_BESTEFFORT, value = ImportBehavior.NAME_BESTEFFORT),
@Option(label = ImportBehavior.NAME_IGNORE, value = ImportBehavior.NAME_IGNORE)
})
String importBehavior() default ImportBehavior.NAME_ABORT;
代码示例来源:origin: apache/jackrabbit-oak
cardinality = 2,
options = {
@Option(label = "USER_MANAGEMENT", value = "USER_MANAGEMENT"),
@Option(label = "REMOVE_NODE", value = "REMOVE_NODE")
})
String permissionsJr2();
description = "Behavior for access control related items upon XML import.",
options = {
@Option(label = ImportBehavior.NAME_ABORT, value = ImportBehavior.NAME_ABORT),
@Option(label = ImportBehavior.NAME_BESTEFFORT, value = ImportBehavior.NAME_BESTEFFORT),
@Option(label = ImportBehavior.NAME_IGNORE, value = ImportBehavior.NAME_IGNORE)
})
String importBehavior() default ImportBehavior.NAME_ABORT;
代码示例来源:origin: org.apache.jackrabbit/oak-core
cardinality = 2,
options = {
@Option(label = "USER_MANAGEMENT", value = "USER_MANAGEMENT"),
@Option(label = "REMOVE_NODE", value = "REMOVE_NODE")
})
String permissionsJr2();
description = "Behavior for access control related items upon XML import.",
options = {
@Option(label = ImportBehavior.NAME_ABORT, value = ImportBehavior.NAME_ABORT),
@Option(label = ImportBehavior.NAME_BESTEFFORT, value = ImportBehavior.NAME_BESTEFFORT),
@Option(label = ImportBehavior.NAME_IGNORE, value = ImportBehavior.NAME_IGNORE)
})
String importBehavior() default ImportBehavior.NAME_ABORT;
代码示例来源:origin: Adobe-Consulting-Services/acs-aem-commons
+ "will be used.",
options = {
@Option(value = OPTION_INHERIT, label = "Inherit"),
@Option(value = OPTION_ACTIVATE, label = "Invalidate Cache"),
@Option(value = OPTION_DELETE, label = "Delete Cache")
})
String prop_replication$_$action$_$type();
代码示例来源:origin: Adobe-Consulting-Services/acs-aem-samples
@Option(label = "Option Foo", value = "foo"),
@Option(label = "Option Bar", value = "bar"),
代码示例来源:origin: org.apache.sling/org.apache.sling.event
description="The priority for the threads used by this queue. Default is norm.",
options = {
@Option(label="Norm",value="NORM"),
@Option(label="Min",value="MIN"),
@Option(label="Max",value="MAX")
})
String queue_priority() default ConfigurationConstants.DEFAULT_PRIORITY;
代码示例来源:origin: io.wcm/io.wcm.dam.asset-service
@Option(label = TimestampDataVersionStrategy.STRATEGY + ": Timestamp of last DAM event", value = TimestampDataVersionStrategy.STRATEGY),
@Option(label = ChecksumDataVersionStrategy.STRATEGY + ": Aggregated checksum of DAM assets", value = ChecksumDataVersionStrategy.STRATEGY)
})
String dataVersionStrategy() default TimestampDataVersionStrategy.STRATEGY;
代码示例来源:origin: Adobe-Consulting-Services/acs-aem-commons
description = "Defines if the service user (principal name) should be adjusted to align with this config or removed completely",
options = {
@Option(value = "add", label = "Ensure existence (add)"),
@Option(value = "remove", label = "Ensure extinction (remove)")
代码示例来源:origin: apache/jackrabbit-oak
description = "TarMK Cold Standby mode (primary or standby)",
options = {
@Option(label = "primary", value = "primary"),
@Option(label = "standby", value = "standby")}
代码示例来源:origin: org.apache.jackrabbit/oak-core
description = "Behavior for user/group related items upon XML import.",
options = {
@Option(label = ImportBehavior.NAME_ABORT, value = ImportBehavior.NAME_ABORT),
@Option(label = ImportBehavior.NAME_BESTEFFORT, value = ImportBehavior.NAME_BESTEFFORT),
@Option(label = ImportBehavior.NAME_IGNORE, value = ImportBehavior.NAME_IGNORE)
})
String importBehavior() default ImportBehavior.NAME_IGNORE;
代码示例来源:origin: apache/jackrabbit-oak
description = "Behavior for user/group related items upon XML import.",
options = {
@Option(label = ImportBehavior.NAME_ABORT, value = ImportBehavior.NAME_ABORT),
@Option(label = ImportBehavior.NAME_BESTEFFORT, value = ImportBehavior.NAME_BESTEFFORT),
@Option(label = ImportBehavior.NAME_IGNORE, value = ImportBehavior.NAME_IGNORE)
})
String importBehavior() default ImportBehavior.NAME_IGNORE;
代码示例来源:origin: org.apache.sling/org.apache.sling.testing.sling-mock-oak
description = "Behavior for user/group related items upon XML import.",
options = {
@Option(label = ImportBehavior.NAME_ABORT, value = ImportBehavior.NAME_ABORT),
@Option(label = ImportBehavior.NAME_BESTEFFORT, value = ImportBehavior.NAME_BESTEFFORT),
@Option(label = ImportBehavior.NAME_IGNORE, value = ImportBehavior.NAME_IGNORE)
})
String importBehavior() default ImportBehavior.NAME_IGNORE;
内容来源于网络,如有侵权,请联系作者删除!