public abstract class AbstractPolicy extends Object implements Policy
RESOURCE_BUNDLE| Constructor and Description | 
|---|
| AbstractPolicy() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getDescription(Locale locale)Return a description of the policy. | 
| String | getName()Get the display name for this policy. | 
| String | getName(Locale locale)Get the policy name in the language of the given locale. | 
| String | getOptionDescription(Locale locale,
                    PolicyOption option)Returns a description for the given option. | 
| String | getOptionName(Locale locale,
             PolicyOption option)Returns a name for the given option. | 
| protected String | getOptionPrefix() | 
| protected String | getPolicyPrefix() | 
| void | setOptionPrefix(String optionPrefix) | 
| protected void | setPolicyPrefix(String policyPrefix) | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultOption, getId, getOptionspublic AbstractPolicy()
protected String getPolicyPrefix()
protected String getOptionPrefix()
protected void setPolicyPrefix(String policyPrefix)
public void setOptionPrefix(String optionPrefix)
public String getName()
Policypublic String getName(Locale locale)
Policypublic String getDescription(Locale locale)
PolicygetDescription in interface Policylocale - The languagepublic String getOptionDescription(Locale locale, PolicyOption option)
PolicygetOptionDescription in interface Policylocale - The locale for the description.option - The option to ask the description for.public String getOptionName(Locale locale, PolicyOption option)
PolicygetOptionName in interface Policylocale - The locale for the nameoption - The option identifierCopyright © 2006–2019 The Apache Software Foundation. All rights reserved.