JACK Teams 5.4 JACOB Application Interface

aos.team
Class RoleControl

java.lang.Object
  extended byaos.jack.jak.util.Watchable
      extended byaos.jack.jak.fsm.FSM
          extended byaos.jack.jak.event.Event
              extended byaos.team.RoleControl
All Implemented Interfaces:
aos.jack.jak.util.ObservableInt, SettableEvent

public class RoleControl
extends aos.jack.jak.event.Event
implements SettableEvent

The RoleControl event is posted by the application to demand addition or revocation of role assignments.


Field Summary
 
Fields inherited from class aos.jack.jak.event.Event
behavior, priority, relevant, task
 
Constructor Summary
RoleControl()
           
 
Method Summary
 RoleControl assign(java.lang.String role, java.lang.String container, java.lang.String actor)
           
 java.lang.String getDocumentation()
           
 java.lang.Object getVariable(int n)
          Gets the numbered Object variable.
 RoleControl revoke(java.lang.String role, java.lang.String container, java.lang.String actor)
           
 boolean set(aos.jack.jak.event.Event __e)
           
 java.lang.String stateInfo()
          Describe the events current state.
 java.lang.String[] variableNames()
          Gets a String array of the names of the Object's variables.
 java.lang.String[] variableTypes()
          Gets a String array of the type names of the Object's variables.
 
Methods inherited from class aos.jack.jak.event.Event
computeFirstApplicable, dump, getEventName, getVariable, getVariableValue, getVariableValue, gotException, init_sentinel, isFailed, isPassed, isRunning, remove
 
Methods inherited from class aos.jack.jak.fsm.FSM
describe, discard, exceptionInfo, getAgent, getPreferredPriority, init, loadClass, restart, run, setMode, thrownAnException, toString, traceGoal
 
Methods inherited from class aos.jack.jak.util.Watchable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RoleControl

public RoleControl()
Method Detail

getDocumentation

public java.lang.String getDocumentation()

set

public boolean set(aos.jack.jak.event.Event __e)
Specified by:
set in interface SettableEvent

assign

public RoleControl assign(java.lang.String role,
                          java.lang.String container,
                          java.lang.String actor)

revoke

public RoleControl revoke(java.lang.String role,
                          java.lang.String container,
                          java.lang.String actor)

stateInfo

public java.lang.String stateInfo()
Description copied from class: aos.jack.jak.event.Event
Describe the events current state.


variableNames

public java.lang.String[] variableNames()
Description copied from class: aos.jack.jak.event.Event
Gets a String array of the names of the Object's variables. The ordinal of a variable in the array is used to access its value with getValue.


variableTypes

public java.lang.String[] variableTypes()
Description copied from class: aos.jack.jak.event.Event
Gets a String array of the type names of the Object's variables. The ordering in the array matches that returned by variableNames.


getVariable

public java.lang.Object getVariable(int n)
Description copied from class: aos.jack.jak.event.Event
Gets the numbered Object variable.


JACK Teams 5.4 JACOB Application Interface

Copyright (C) 1999-2008, Agent Oriented Software Pty. Ltd.

US Government Restricted Rights
The JACK Modules and relevant Software Material have been developed entirely at private expense and are accordingly provided with RESTRICTED RIGHTS. Use, duplication, or disclosure by Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of DFARS 252.227-7013 or subparagraph (c)(1) and (2) of the Commercial Computer Software Restricted Rights and 48 CFR 52.2270-19, as applicable.


Agent Oriented Software Pty. Ltd.     http://www.aosgrp.com
PO Box 639, Carlton South, Victoria 3053, Australia
Phone: +61 3 9349 5055, Fax: +61 3 9349 5088