Class ConfigData

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConfigData
    extends java.lang.Object
    implements java.io.Serializable
    Simple plugin config class representing a text or a binary content.
    Since:
    4.0.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigData()
      create ConfigData object
      ConfigData​(byte[] value)
      create ConfigData object and setting binary content to given value
      ConfigData​(java.lang.String value)
      create ConfigData object and setting text content to given value
    • Constructor Detail

      • ConfigData

        public ConfigData()
        create ConfigData object
      • ConfigData

        public ConfigData​(java.lang.String value)
        create ConfigData object and setting text content to given value
        Parameters:
        value -
      • ConfigData

        public ConfigData​(byte[] value)
        create ConfigData object and setting binary content to given value
        Parameters:
        value -
    • Method Detail

      • getBinaryContent

        public final byte[] getBinaryContent()
        Returns:
        binary content
      • setBinaryContent

        public final void setBinaryContent​(byte[] value)
        Parameters:
        value -
      • getTextContent

        public final java.lang.String getTextContent()
        Returns:
        text content
      • setTextContent

        public final void setTextContent​(java.lang.String value)
        Parameters:
        value -