Uses of Class
cz.cuni.amis.pogamut.base.component.controller.ComponentState

Packages that use ComponentState
cz.cuni.amis.pogamut.base.agent.module   
cz.cuni.amis.pogamut.base.component.bus.exception   
cz.cuni.amis.pogamut.base.component.controller   
cz.cuni.amis.pogamut.base.component.lifecyclebus   
 

Uses of ComponentState in cz.cuni.amis.pogamut.base.agent.module
 

Methods in cz.cuni.amis.pogamut.base.agent.module that return types with arguments of type ComponentState
 cz.cuni.amis.utils.flag.ImmutableFlag<ComponentState> AgentModule.getState()
          Returns state of the component.
 

Uses of ComponentState in cz.cuni.amis.pogamut.base.component.bus.exception
 

Constructors in cz.cuni.amis.pogamut.base.component.bus.exception with parameters of type ComponentState
ComponentNotRunningException(ComponentState state, Logger log, Object origin)
          Constructs a new exception with the specified detail message.
ComponentNotRunningException(ComponentState state, Object origin)
          Constructs a new exception with the specified detail message.
ComponentNotRunningException(ComponentState state, Throwable cause, Logger log, Object origin)
          Constructs a new exception with the specified detail message and cause.
ComponentNotRunningException(ComponentState state, Throwable cause, Object origin)
          Constructs a new exception with the specified detail message and cause.
ComponentPausedException(ComponentState state, Logger log, Object origin)
          Constructs a new exception with the specified detail message.
ComponentPausedException(ComponentState state, Object origin)
          Constructs a new exception with the specified detail message.
ComponentPausedException(ComponentState state, Throwable cause, Logger log, Object origin)
          Constructs a new exception with the specified detail message and cause.
ComponentPausedException(ComponentState state, Throwable cause, Object origin)
          Constructs a new exception with the specified detail message and cause.
 

Uses of ComponentState in cz.cuni.amis.pogamut.base.component.controller
 

Fields in cz.cuni.amis.pogamut.base.component.controller with type parameters of type ComponentState
protected  cz.cuni.amis.utils.flag.Flag<ComponentState> AbstractComponentControllerBase.componentState
          State of the controlled component.
protected  Map<ComponentState,Integer> SharedComponentController.componentStateCount
          Map tracking count of states of dependencies.
protected  Map<IAgentId,ComponentState> SharedComponentController.componentStates
          This map holds the currently desired AbstractComponentControllerBase.component state inside the agent's bus.
 

Methods in cz.cuni.amis.pogamut.base.component.controller that return ComponentState
 ComponentState AbstractComponentControllerBase.awaitState(ComponentState... states)
           
 ComponentState IComponentControllerBase.awaitState(ComponentState... states)
          Waits until the component reaches one of 'states' or KILLING / KILLED state is reached.
 ComponentState AbstractComponentControllerBase.awaitState(long timeoutMillis, ComponentState... states)
           
 ComponentState IComponentControllerBase.awaitState(long timeoutMillis, ComponentState... states)
          Waits until the component reaches one of 'states' or KILLING / KILLED state is reached.
static ComponentState ComponentState.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ComponentState[] ComponentState.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in cz.cuni.amis.pogamut.base.component.controller that return types with arguments of type ComponentState
 cz.cuni.amis.utils.flag.ImmutableFlag<ComponentState> AbstractComponentControllerBase.getState()
           
 cz.cuni.amis.utils.flag.ImmutableFlag<ComponentState> IComponentControllerBase.getState()
          Returns state of the controlled component (state of the component life-cycle).
 

Methods in cz.cuni.amis.pogamut.base.component.controller with parameters of type ComponentState
 boolean AbstractComponentControllerBase.AwaitState.accept(ComponentState flagValue)
           
protected  void SharedComponentController.agentStoppedUsingTheComponent(IAgentId agentId, ComponentState oldState)
           
protected  int SharedComponentController.alterStateCount(ComponentState state, int change)
          Changes the count (by 'change') of the 'state', DOES NOT TRIGGER SharedComponentController#componentStateCountChanged().
 ComponentState AbstractComponentControllerBase.awaitState(ComponentState... states)
           
 ComponentState IComponentControllerBase.awaitState(ComponentState... states)
          Waits until the component reaches one of 'states' or KILLING / KILLED state is reached.
 ComponentState AbstractComponentControllerBase.awaitState(long timeoutMillis, ComponentState... states)
           
 ComponentState IComponentControllerBase.awaitState(long timeoutMillis, ComponentState... states)
          Waits until the component reaches one of 'states' or KILLING / KILLED state is reached.
protected  void SharedComponentController.checkStateCount(int newCount, ComponentState state)
          Checks sanity of the 'state' count 'newCount'
protected  void SharedComponentController.componentStateChanged(IAgentId origin, ComponentState oldState, ComponentState newState)
           
protected  void SharedComponentController.componentStateCountChanged(IAgentId origin, ComponentState oldState, ComponentState newState)
           
protected  int SharedComponentController.decreaseStateCount(ComponentState state)
          Decreases (-1) count of the 'state', DOES NOT TRIGGER SharedComponentController#componentStateCountChanged().
protected  int SharedComponentController.decreaseStateCount(ComponentState state, int n)
          Decreases (-n) count of the 'state', DOES NOT TRIGGER SharedComponentController#componentStateCountChanged().
 void SharedComponentController.ComponentStateListener.flagChanged(ComponentState changedValue)
           
 int SharedComponentController.getStateCount(ComponentState... states)
          Return how many components are in one of 'states'
protected  int SharedComponentController.increaseStateCount(ComponentState state)
          Increases (+1) count of the 'state', DOES NOT TRIGGER SharedComponentController#componentStateCountChanged().
protected  int SharedComponentController.increaseStateCount(ComponentState state, int n)
          Increases count (+n) of the 'state', DOES NOT TRIGGER SharedComponentController#componentStateCountChanged().
static boolean ComponentState.inside(ComponentState state, ComponentState... inside)
          Tests whether 'state' is inside 'inside'.
static boolean ComponentState.inside(ComponentState state, ComponentState... inside)
          Tests whether 'state' is inside 'inside'.
 boolean AbstractComponentControllerBase.inState(ComponentState... states)
           
 boolean IComponentControllerBase.inState(ComponentState... states)
          Whether the component is in one of 'states'.
protected  void SharedComponentController.newAgentIsUsingTheComponent(IAgentId agentId, ComponentState state)
           
static boolean ComponentState.notInside(ComponentState state, ComponentState... inside)
          Wether 'state' is not part of 'inside'.
static boolean ComponentState.notInside(ComponentState state, ComponentState... inside)
          Wether 'state' is not part of 'inside'.
 boolean AbstractComponentControllerBase.notInState(ComponentState... states)
           
 boolean IComponentControllerBase.notInState(ComponentState... states)
          Whether the component is not in any of 'states'.
static boolean ComponentState.partOf(ComponentState[] states, ComponentState... inside)
          Returns true if one state from 'states' is found 'inside', O(n) complexity.
static boolean ComponentState.partOf(ComponentState[] states, ComponentState... inside)
          Returns true if one state from 'states' is found 'inside', O(n) complexity.
protected  void AbstractComponentControllerBase.setState(ComponentState state)
          Changes the AbstractComponentControllerBase.componentState to desired state.
protected  void SharedComponentController.setState(IAgentId agentId, ComponentState newState)
          Changes the state of the component for given agentId, triggers SharedComponentController#componentStateCountChanged().
protected  void SharedComponentController.setState(IAgentId agentId, ComponentState oldState, ComponentState newState)
          Changes the state of the component for given agentId, triggers SharedComponentController#componentStateCountChanged().
protected  void SharedComponentController.stateChanged(IAgentId agentId, ComponentState changedValue)
          Signal that the component in the bus of agent identified by 'agentId' has changed into 'changedValue'.
 

Constructors in cz.cuni.amis.pogamut.base.component.controller with parameters of type ComponentState
AbstractComponentControllerBase.AwaitState(ComponentState... states)
           
 

Uses of ComponentState in cz.cuni.amis.pogamut.base.component.lifecyclebus
 

Methods in cz.cuni.amis.pogamut.base.component.lifecyclebus that return types with arguments of type ComponentState
 cz.cuni.amis.utils.flag.ImmutableFlag<ComponentState> LifecycleBus.getComponentState(Class<? extends IComponent> cls)
           
 cz.cuni.amis.utils.flag.ImmutableFlag<ComponentState> ILifecycleBus.getComponentState(Class<? extends IComponent> cls)
          Returns current ComponentState of the component that implements / inherit the 'cls' class.
 cz.cuni.amis.utils.flag.ImmutableFlag<ComponentState> LifecycleBus.getComponentState(cz.cuni.amis.utils.token.IToken componentId)
           
 cz.cuni.amis.utils.flag.ImmutableFlag<ComponentState> ILifecycleBus.getComponentState(cz.cuni.amis.utils.token.IToken componentId)
          Returns current ComponentState of the component identified by 'componentId'.
 



Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.