Class BooleanPluginProperty

    • Method Detail

      • evaluate

        public boolean evaluate()
        Specified by:
        evaluate in interface PluginProperty
        Returns:
        true if value not null or 'false'.
        See Also:
        at.aschauer.commons.pentaho.plugin.PluginProperty#evaluate()
      • appendXml

        public void appendXml​(StringBuilder builder)
        Specified by:
        appendXml in interface PluginProperty
        Parameters:
        builder - builder to append to.
        See Also:
        at.aschauer.commons.pentaho.plugin.PluginProperty#appendXml(java.lang.StringBuilder)
      • loadXml

        public void loadXml​(Node node)
        Specified by:
        loadXml in interface PluginProperty
        Parameters:
        node - the node.
        See Also:
        at.aschauer.commons.pentaho.plugin.PluginProperty#loadXml(org.w3c.dom.Node)
      • readFromRepositoryStep

        public void readFromRepositoryStep​(Repository repository,
                                           org.pentaho.metastore.api.IMetaStore metaStore,
                                           org.pentaho.di.repository.ObjectId stepId)
                                    throws org.pentaho.di.core.exception.KettleException
        Specified by:
        readFromRepositoryStep in interface PluginProperty
        Parameters:
        repository - the repository.
        stepId - the stepId.
        Throws:
        org.pentaho.di.core.exception.KettleException - ...
        See Also:
        at.aschauer.commons.pentaho.plugin.PluginProperty#readFromRepositoryStep(org.pentaho.di.repository.Repository, long)
      • saveToPreferences

        public void saveToPreferences​(Preferences node)
        Specified by:
        saveToPreferences in interface PluginProperty
        Parameters:
        node - preferences node
        See Also:
        at.aschauer.commons.pentaho.plugin.PluginProperty#saveToPreferences(java.util.prefs.Preferences)
      • readFromPreferences

        public void readFromPreferences​(Preferences node)
        Specified by:
        readFromPreferences in interface PluginProperty
        Parameters:
        node - preferences node.
        See Also:
        at.aschauer.commons.pentaho.plugin.PluginProperty#readFromPreferences(java.util.prefs.Preferences)
      • saveToRepositoryStep

        public void saveToRepositoryStep​(Repository repository,
                                         org.pentaho.metastore.api.IMetaStore metaStore,
                                         org.pentaho.di.repository.ObjectId transformationId,
                                         org.pentaho.di.repository.ObjectId stepId)
                                  throws org.pentaho.di.core.exception.KettleException
        Specified by:
        saveToRepositoryStep in interface PluginProperty
        Parameters:
        repository - the repository.
        metaStore - the MetaStore
        transformationId - the transformationId.
        stepId - the stepId.
        Throws:
        org.pentaho.di.core.exception.KettleException - ...
        See Also:
        at.aschauer.commons.pentaho.plugin.PluginProperty#saveToRepositoryStep()