public static DomainCommandBuilder of(final String wildflyHome, final String javaHome) {
        return new DomainCommandBuilder(Environment.validateWildFlyDir(wildflyHome), Jvm.of(javaHome));
    }
public static DomainCommandBuilder of ( final String wildflyHome , final String javaHome ) { return new DomainCommandBuilder ( Environment . validateWildFlyDir ( wildflyHome ) , Jvm . of ( javaHome ) ) ; }
Creates a command builder for a domain instance of WildFly.

@param wildflyHome the path to the WildFly home directory
@param javaHome    the path to the default Java home directory

@return a new builder