Class WildFly9xCliConfigurationFactory

    • Constructor Detail

      • WildFly9xCliConfigurationFactory

        public WildFly9xCliConfigurationFactory​(Configuration configuration)
        Sets configuration containing all needed information for building configuration scripts.
        Parameters:
        configuration - Container configuration.
    • Method Detail

      • startEmbedServerScript

        public ScriptCommand startEmbedServerScript()
        Returns:
        Start embed server CLI script.
      • batchScript

        public ScriptCommand batchScript()
        Returns:
        Batch CLI script.
      • runBatchScript

        public ScriptCommand runBatchScript()
        Returns:
        Run batch CLI script.
      • configurePortsScript

        public ScriptCommand configurePortsScript()
        Returns:
        Configure ports CLI script.
      • loggingScript

        public ScriptCommand loggingScript()
        Returns:
        Configure logger CLI script.
      • systemPropertyScript

        public ScriptCommand systemPropertyScript​(String name,
                                                  String value)
        Parameters:
        name - System property name.
        value - System property value.
        Returns:
        Configure logger CLI script.
      • dataSourceScript

        public ScriptCommand dataSourceScript​(DataSource ds)
        Parameters:
        ds - DataSource to be configured.
        Returns:
        Configure DataSource CLI script.
      • dataSourceDriverScript

        public ScriptCommand dataSourceDriverScript​(DataSource ds,
                                                    String driverModule)
        Parameters:
        ds - DataSource to be configured.
        driverModule - Module containing DataSource driver.
        Returns:
        Configure DataSource Driver CLI script.
      • resourceScript

        public ScriptCommand resourceScript​(Resource resource)
        Parameters:
        resource - Resource.
        Returns:
        Create resource CLI script.
      • customScript

        public ScriptCommand customScript​(String scriptPath)
        Parameters:
        scriptPath - Path to script file.
        Returns:
        Custom CLI script.