PHP 클래스 AppserverIo\Appserver\Application\ApplicationStateKeys

파일 보기 프로젝트 열기: appserver-io/appserver 1 사용 예제들

공개 메소드들

메소드 설명
__toString ( ) : string Returns the application state representation as string.
equals ( ApplicationStateKeys $applicationState ) : boolean Returns TRUE if the passed application state equals the actual one, else FALSE.
get ( integer $applicationState ) : ApplicationStateKeys Factory method to create a new application state instance.
getApplicationState ( ) : integer Returns the application state representation as integer.
getApplicationStates ( ) : array Returns the container states.
greaterOrEqualThan ( ApplicationStateKeys $containerState ) : boolean Returns TRUE if the container state is greater than the passed one, else FALSE.
notEquals ( ApplicationStateKeys $applicationState ) : boolean Returns TRUE if the passed application state NOT equals the actual one, else FALSE.

비공개 메소드들

메소드 설명
__clone ( ) : void This is a utility class, so protect it against cloning.
__construct ( integer $applicationState ) This is a utility class, so protect it against direct instantiation.

메소드 상세

__toString() 공개 메소드

Returns the application state representation as string.
또한 보기: AppserverIo\Appserver\Core\Utilities\ApplicationStateKeys::getApplicationState()
public __toString ( ) : string
리턴 string The string representation of the application state

equals() 공개 메소드

Returns TRUE if the passed application state equals the actual one, else FALSE.
public equals ( ApplicationStateKeys $applicationState ) : boolean
$applicationState ApplicationStateKeys The container state to check
리턴 boolean TRUE if equal, else FALSE

get() 공개 정적인 메소드

Factory method to create a new application state instance.
public static get ( integer $applicationState ) : ApplicationStateKeys
$applicationState integer The application state to create an instance for
리턴 ApplicationStateKeys The application state key instance

getApplicationState() 공개 메소드

Returns the application state representation as integer.
public getApplicationState ( ) : integer
리턴 integer The integer representation of the application state

getApplicationStates() 공개 정적인 메소드

Returns the container states.
public static getApplicationStates ( ) : array
리턴 array The container states

greaterOrEqualThan() 공개 메소드

Returns TRUE if the container state is greater than the passed one, else FALSE.
public greaterOrEqualThan ( ApplicationStateKeys $containerState ) : boolean
$containerState ApplicationStateKeys The container state to be greater than
리턴 boolean TRUE if equal, else FALSE

notEquals() 공개 메소드

Returns TRUE if the passed application state NOT equals the actual one, else FALSE.
public notEquals ( ApplicationStateKeys $applicationState ) : boolean
$applicationState ApplicationStateKeys The container state to check NOT to be equal
리턴 boolean TRUE if NOT equal, else FALSE