AppserverIo\Appserver\Core\Api\Node\ProvisionerNode::__construct PHP Method

__construct() public method

Initializes the provisioner node with the necessary data.
public __construct ( string $name = '', string $type = '', string $factory = '' )
$name string The provisioner name
$type string The provisioner type
$factory string The provisioners factory class name
    public function __construct($name = '', $type = '', $factory = '')
    {
        // initialize the UUID
        $this->setUuid($this->newUuid());
        // set the data
        $this->name = $name;
        $this->type = $type;
        $this->factory = $factory;
    }