Class DefaultPersistInfo

  • All Implemented Interfaces:
    IPersistInfo
    Direct Known Subclasses:
    BpmnPersistInfo

    public class DefaultPersistInfo
    extends java.lang.Object
    implements IPersistInfo
    Interpreter state information used to persist components. Kernels must subclass this state to include kernel-specific state information.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.Map<java.lang.String,​java.lang.Object> arguments
      The arguments.
      protected java.lang.String config
      The application configuration.
      protected IComponentDescription desc
      The component description.
      protected java.lang.String modelfilename
      File name of the model.
      protected java.util.Map<java.lang.String,​java.lang.Object> properties
      The properties.
      protected java.util.Map<java.lang.String,​java.lang.Object> results
      The results.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> getArguments()
      Gets the arguments.
      IComponentDescription getComponentDescription()
      Get the component description.
      java.lang.String getConfig()
      Gets the config.
      java.lang.String getModelFileName()
      Gets the model file name.
      java.util.Map<java.lang.String,​java.lang.Object> getProperties()
      Gets the properties.
      java.util.Map<java.lang.String,​java.lang.Object> getResults()
      Gets the results.
      void setArguments​(java.util.Map<java.lang.String,​java.lang.Object> arguments)
      Sets the arguments.
      void setComponentDescription​(IComponentDescription desc)
      Set the component description.
      void setConfig​(java.lang.String config)
      Sets the config.
      void setModelFileName​(java.lang.String modelfilename)
      Sets the model file name.
      void setProperties​(java.util.Map<java.lang.String,​java.lang.Object> properties)
      Sets the properties.
      void setResults​(java.util.Map<java.lang.String,​java.lang.Object> results)
      Sets the results.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • modelfilename

        protected java.lang.String modelfilename
        File name of the model.
      • config

        protected java.lang.String config
        The application configuration.
      • arguments

        protected java.util.Map<java.lang.String,​java.lang.Object> arguments
        The arguments.
      • results

        protected java.util.Map<java.lang.String,​java.lang.Object> results
        The results.
      • properties

        protected java.util.Map<java.lang.String,​java.lang.Object> properties
        The properties.
    • Constructor Detail

      • DefaultPersistInfo

        public DefaultPersistInfo()
        Empty constructor for bean compatibility.
      • DefaultPersistInfo

        public DefaultPersistInfo​(IInternalAccess interpreter)
        Creates the state info object.
    • Method Detail

      • getModelFileName

        public java.lang.String getModelFileName()
        Gets the model file name.
        Specified by:
        getModelFileName in interface IPersistInfo
        Returns:
        The model file name.
      • setModelFileName

        public void setModelFileName​(java.lang.String modelfilename)
        Sets the model file name.
        Parameters:
        modelfilename - The model file name to set.
      • setComponentDescription

        public void setComponentDescription​(IComponentDescription desc)
        Set the component description.
        Parameters:
        desc - The component description
      • getConfig

        public java.lang.String getConfig()
        Gets the config.
        Returns:
        The config.
      • setConfig

        public void setConfig​(java.lang.String config)
        Sets the config.
        Parameters:
        config - The config to set.
      • getArguments

        public java.util.Map<java.lang.String,​java.lang.Object> getArguments()
        Gets the arguments.
        Returns:
        The arguments.
      • setArguments

        public void setArguments​(java.util.Map<java.lang.String,​java.lang.Object> arguments)
        Sets the arguments.
        Parameters:
        arguments - The arguments to set.
      • getResults

        public java.util.Map<java.lang.String,​java.lang.Object> getResults()
        Gets the results.
        Returns:
        The results.
      • setResults

        public void setResults​(java.util.Map<java.lang.String,​java.lang.Object> results)
        Sets the results.
        Parameters:
        results - The results to set.
      • getProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getProperties()
        Gets the properties.
        Returns:
        The properties.
      • setProperties

        public void setProperties​(java.util.Map<java.lang.String,​java.lang.Object> properties)
        Sets the properties.
        Parameters:
        properties - The properties to set.