Class DefaultPackageNameOption

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PROPERTY_NAME
      The property name for the default package name
    • Field Detail

      • PROPERTY_NAME

        public static final java.lang.String PROPERTY_NAME
        The property name for the default package name
        See Also:
        Constant Field Values
    • Method Detail

      • get

        public static DefaultPackageNameOption get​(java.lang.String packageName)
        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

        public java.lang.String getPropertyName()
        Specified by:
        getPropertyName in interface org.kie.api.conf.Option
      • getPackageName

        public java.lang.String getPackageName()
        Returns the name of the package configured as default
        Returns:
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object