PHP Class Scalr\Api\Service\User\V1beta0\Adapter\OrchestrationRuleAdapter

Author: N.V.
Inheritance: extends Scalr\Api\DataType\ApiEntityAdapter
Exibir arquivo Open project: scalr/scalr Class Usage Examples

Protected Properties

Property Type Description
$allowedTargets
$entityClass
$rules array Converter rules
$targetMap

Public Methods

Method Description
_action ( $from, $to, $action )
_scope ( $from, $to, $action )
_target ( $from, $to, $action )
_trigger ( $from, $to, $action )
checkScriptOs ( Scalr\Model\Entity\OrchestrationRule $entity, string $os ) Checks compliance OS of the script and the role
targetToData ( Scalr\Model\Entity\OrchestrationRule $entity, $object )
targetToEntity ( $object, Scalr\Model\Entity\OrchestrationRule $entity )
validateEntity ( $entity )

Method Details

_action() public method

public _action ( $from, $to, $action )

_scope() public method

public _scope ( $from, $to, $action )

_target() public method

public _target ( $from, $to, $action )

_trigger() public method

public _trigger ( $from, $to, $action )

checkScriptOs() public method

Checks compliance OS of the script and the role
public checkScriptOs ( Scalr\Model\Entity\OrchestrationRule $entity, string $os )
$entity Scalr\Model\Entity\OrchestrationRule Orchestration Rule entity
$os string OS type

targetToData() public static method

public static targetToData ( Scalr\Model\Entity\OrchestrationRule $entity, $object )
$entity Scalr\Model\Entity\OrchestrationRule

targetToEntity() public static method

public static targetToEntity ( $object, Scalr\Model\Entity\OrchestrationRule $entity )
$entity Scalr\Model\Entity\OrchestrationRule

validateEntity() public method

See also: ApiEntityAdapter::validateEntity()
public validateEntity ( $entity )

Property Details

$allowedTargets protected_oe static_oe property

protected static $allowedTargets

$entityClass protected_oe property

See also: BaseAdapter::$entityClass
protected $entityClass

$rules protected_oe property

Converter rules
protected array $rules
return array

$targetMap protected_oe static_oe property

protected static $targetMap