Class DefaultPackageNameOption

    • Field Detail

      • PROPERTY_NAME

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

      • get

        public static DefaultPackageNameOption get​(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 String getPropertyName()
        Specified by:
        getPropertyName in interface org.kie.api.conf.Option
      • getPackageName

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

        public int hashCode()
        Overrides:
        hashCode in class Object