Class ValidateRemoteDirDeploymentCommand

  • All Implemented Interfaces:
    AdminCommand, CommandParameters

    @Service(name="_validateRemoteDirDeployment")
    @PerLookup
    @ExecuteOn(DAS)
    public class ValidateRemoteDirDeploymentCommand
    extends DeployCommandParameters
    implements AdminCommand
    Makes sure that, if a deployment is a directory deployment to a non-DAS target, that all targeted instances "see" the same files in the specified deployment directory as the DAS sees. If so, the DeployCommand runs as normal. If not, this supplemental command reports failure which prevents the DeployCommand from running because it would have tried to deploy different files to different instances.
    Author:
    Tim Quinn
    • Constructor Detail

      • ValidateRemoteDirDeploymentCommand

        public ValidateRemoteDirDeploymentCommand()
    • Method Detail

      • execute

        public void execute​(AdminCommandContext context)
        Description copied from interface: AdminCommand
        Executes the command with the command parameters passed as Properties where the keys are the parameter names and the values are the parameter values
        Specified by:
        execute in interface AdminCommand
        Parameters:
        context - information