PHP 클래스 Scalr\Api\Service\User\V1beta0\Adapter\OrchestrationRuleAdapter

저자: N.V.
상속: extends Scalr\Api\DataType\ApiEntityAdapter
파일 보기 프로젝트 열기: scalr/scalr 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$allowedTargets
$entityClass
$rules array Converter rules
$targetMap

공개 메소드들

메소드 설명
_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 )

메소드 상세

_action() 공개 메소드

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

_scope() 공개 메소드

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

_target() 공개 메소드

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

_trigger() 공개 메소드

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

checkScriptOs() 공개 메소드

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 targetToData ( Scalr\Model\Entity\OrchestrationRule $entity, $object )
$entity Scalr\Model\Entity\OrchestrationRule

targetToEntity() 공개 정적인 메소드

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

validateEntity() 공개 메소드

또한 보기: ApiEntityAdapter::validateEntity()
public validateEntity ( $entity )

프로퍼티 상세

$allowedTargets 보호되어 있는 정적으로 프로퍼티

protected static $allowedTargets

$entityClass 보호되어 있는 프로퍼티

또한 보기: BaseAdapter::$entityClass
protected $entityClass

$rules 보호되어 있는 프로퍼티

Converter rules
protected array $rules
리턴 array

$targetMap 보호되어 있는 정적으로 프로퍼티

protected static $targetMap