Class DebugOff

    • Constructor Detail

      • DebugOff

        public DebugOff()
        Default constructor. A default constructor is necessary for ontological classes.
    • Method Detail

      • setDebugger

        public void setDebugger​(AID id)
        Set the debugger slot of this action.
        Parameters:
        id - The agent identifier of the debugger agent.
      • getDebugger

        public AID getDebugger()
        Retrieve the value of the debugger slot of this action, containing the agent identifier of the debugger agent.
        Returns:
        The value of the debugger slot, or null if no value was set.
      • clearAllDebuggedAgents

        public void clearAllDebuggedAgents()
        Remove all agent identifiers from the debugged-agents slot collection of this object.
      • addDebuggedAgents

        public void addDebuggedAgents​(AID id)
        Add an agent identifier to the debugged-agents slot collection of this object.
        Parameters:
        id - The agent identifier to add to the collection.
      • removeDebuggedAgents

        public boolean removeDebuggedAgents​(AID id)
        Remove an agent identifier from the debugged-agents slot collection of this object.
        Parameters:
        id - The agent identifier to remove from the collection.
        Returns:
        A boolean, telling whether the element was present in the collection or not.
      • getAllDebuggedAgents

        public Iterator getAllDebuggedAgents()
        Access all agent identifiers from the debugged-agents slot collection of this object.
        Returns:
        An iterator over the properties collection.
      • getCloneOfDebuggedAgents

        public ArrayList getCloneOfDebuggedAgents()
        This method is called by the AMS in order to prepare an RMI call. The getAllDebuggedAgents() cannot be used as it returns an Iterator that is not serializable.
      • setPassword

        public void setPassword​(String p)
        Set the password slot of this action.
        Parameters:
        p - The password used to authenticate the principal requesting this action.
      • getPassword

        public String getPassword()
        Retrieve the value of the password slot of this action, containing the password used to authenticate the principal requesting this action.
        Returns:
        The value of the password slot, or null if no value was set.