Class EdgeConfig.Factory.Property

  • Enclosing class:

    public static class EdgeConfig.Factory.Property
    extends java.lang.Object
    Represents a configuration option of an OpenEMS Component Factory.
    • Constructor Summary

      Constructor Description
      Property​(java.lang.String id, java.lang.String name, java.lang.String description, boolean isRequired, boolean isPassword, defaultValue, schema)  
    • Constructor Detail

      • Property

        public Property​(java.lang.String id,
                        java.lang.String name,
                        java.lang.String description,
                        boolean isRequired,
                        boolean isPassword,
    • Method Detail

      • toJson

        public toJson()
        Returns the Factory Property as a JSON Object.
           id: string,
           name: string,
           description: string,
           isOptional: boolean,
           isPassword: boolean,
           defaultValue: any,
           schema: {
             type: string
        property as a JSON Object
      • getId

        public java.lang.String getId()
      • getName

        public java.lang.String getName()
      • getDescription

        public java.lang.String getDescription()
      • isPassword

        public boolean isPassword()
      • isRequired

        public boolean isRequired()
      • getDefaultValue

        public getDefaultValue()