Class AgentDescriptor

    • Constructor Detail

      • AgentDescriptor

        public AgentDescriptor​(Class<?> clazz)
    • Method Detail

      • getAgentClass

        public Class getAgentClass()
      • setAgentClass

        public void setAgentClass​(Class agentClass)
      • getName

        public String getName()
        Description copied from interface: Descriptor
        Retrieves the name of the descriptor. This will generally be used for displaying the descriptor in GUIs and in other situations.
        Specified by:
        getName in interface Descriptor
        Returns:
        the name of this descriptor
      • setName

        public void setName​(String name)
        Description copied from interface: Descriptor
        Sets the name of the descriptor. This will generally be used for displaying the descriptor in GUIs and in other situations.
        Specified by:
        setName in interface Descriptor
        Parameters:
        name - the name of this descriptor
      • setProperties

        public void setProperties​(Map<String,​Object> properties)
      • addProperty

        public void addProperty​(String name,
                                Object value)