Class SetStorageValue

    • Field Detail

      • m_Cache

        protected String m_Cache
        the name of the LRU cache.
      • m_StorageName

        protected StorageName m_StorageName
        the name of the value to store.
    • Constructor Detail

      • SetStorageValue

        public SetStorageValue()
        Default constructor.
      • SetStorageValue

        public SetStorageValue​(StorageName storageName)
        Constructor that sets the storage name as well.
        Parameters:
        storageName - the storage name to use
      • SetStorageValue

        public SetStorageValue​(String storageName)
        Constructor that sets the storage name as well.
        Parameters:
        storageName - the storage name to use
    • Method Detail

      • setCache

        public void setCache​(String value)
        Sets the name of the LRU cache to use, regular storage if left empty.
        Parameters:
        value - the cache
      • getCache

        public String getCache()
        Returns the name of the LRU cache to use, regular storage if left empty.
        Returns:
        the cache
      • cacheTipText

        public String cacheTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setStorageName

        public void setStorageName​(String value)
        Sets the name of the stored value.
        Parameters:
        value - the name
      • setStorageName

        public void setStorageName​(StorageName value)
        Sets the name of the stored value.
        Parameters:
        value - the name
      • getStorageName

        public StorageName getStorageName()
        Returns the name of the stored value.
        Returns:
        the name
      • storageNameTipText

        public String storageNameTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • isUpdatingStorage

        public boolean isUpdatingStorage()
        Returns whether storage items are being updated.
        Specified by:
        isUpdatingStorage in interface StorageUpdater
        Returns:
        true if storage items are updated
      • accepts

        public Class[] accepts()
        Returns the class that the consumer accepts.
        Specified by:
        accepts in interface InputConsumer
        Returns:
        adams.flow.core.Unknown.class
      • doExecute

        protected String doExecute()
        Executes the flow item.
        Specified by:
        doExecute in class AbstractActor
        Returns:
        null if everything is fine, otherwise error message
      • generates

        public Class[] generates()
        Returns the class of objects that it generates.
        Specified by:
        generates in interface OutputProducer
        Returns:
        adams.flow.core.Unknown.class