Class CustomWildFlyScriptCommand

  • All Implemented Interfaces:
    ScriptCommand

    public class CustomWildFlyScriptCommand
    extends Object
    implements ScriptCommand
    Implementation of custom configuration script command.
    • Constructor Detail

      • CustomWildFlyScriptCommand

        public CustomWildFlyScriptCommand​(String resourcePath)
        Sets configuration containing all needed information for building configuration scripts.
        Parameters:
        resourcePath - Path to configuration script resource.
    • Method Detail

      • readScript

        public String readScript()
        Specified by:
        readScript in interface ScriptCommand
        Returns:
        Filtered script representing this command.
      • isApplicable

        public boolean isApplicable()
        Method used for checking if script command can be applied - if it has all needed parameters set.
        Specified by:
        isApplicable in interface ScriptCommand
        Returns:
        True if script command can be applied with existing parameters.