Class Restore

  • All Implemented Interfaces:
    org.apache.commons.chain.Command

    public class Restore
    extends Object
    implements org.apache.commons.chain.Command
    Restore a Node to the state of the given Version
    • Constructor Detail

      • Restore

        public Restore()
    • Method Detail

      • execute

        public boolean execute​(org.apache.commons.chain.Context ctx)
                        throws Exception
        Specified by:
        execute in interface org.apache.commons.chain.Command
        Throws:
        Exception
      • getPathKey

        public String getPathKey()
        Returns:
        the path key
      • setPathKey

        public void setPathKey​(String pathKey)
        Parameters:
        pathKey - the path key to set
      • getRemoveExistingKey

        public String getRemoveExistingKey()
        Returns:
        the remove existing key
      • setRemoveExistingKey

        public void setRemoveExistingKey​(String removeExistingKey)
        Parameters:
        removeExistingKey - the remove existing key to set
      • getVersionKey

        public String getVersionKey()
        Returns:
        the version name key
      • setVersionKey

        public void setVersionKey​(String versionNameKey)
        Parameters:
        versionNameKey - the version name key to set