Package org.kie.internal.builder.conf
Class DefaultPackageNameOption
java.lang.Object
org.kie.internal.builder.conf.DefaultPackageNameOption
- All Implemented Interfaces:
Serializable,Option,SingleValueOption,KnowledgeBuilderOption,SingleValueKieBuilderOption
A class for the default package name configuration.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic OptionKey<DefaultPackageNameOption>static final StringThe property name for the default package nameFields inherited from interface org.kie.internal.builder.conf.KnowledgeBuilderOption
TYPE -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DefaultPackageNameOptionThis is a factory method for this DefaultPackageName configuration.Returns the name of the package configured as defaultinthashCode()toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.internal.builder.conf.KnowledgeBuilderOption
typeMethods inherited from interface org.kie.api.conf.Option
propertyName
-
Field Details
-
PROPERTY_NAME
The property name for the default package name- See Also:
-
KEY
-
-
Method Details
-
get
This is a factory method for this DefaultPackageName configuration. The factory method is a best practice for the case where the actual object construction is changed in the future.- Parameters:
packageName- the name of the package to be configured as default- Returns:
- the actual type safe default package name configuration.
-
getPropertyName
- Specified by:
getPropertyNamein interfaceOption
-
getPackageName
Returns the name of the package configured as default- Returns:
-
packageName
-
hashCode
public int hashCode() -
equals
-
toString
-