com.almende.eve.agent.AgentInterface Maven / Gradle / Ivy
package com.almende.eve.agent;
import java.util.List;
import com.almende.eve.agent.annotation.Name;
import com.almende.eve.agent.annotation.Required;
public interface AgentInterface {
/**
* Retrieve the agents id
* @return id
*/
public String getId();
/**
* Retrieve the agents type (its simple class name)
* @return version
*/
public String getType();
/**
* Retrieve the agents version number
* @return version
*/
public String getVersion();
/**
* Retrieve a description of the agents functionality
* @return description
*/
public String getDescription();
/**
* Retrieve an array with the agents urls (can be one or multiple), and
* depends on the configured transport services.
* @return urls
*/
public List getUrls();
/**
* Retrieve a list with all the available methods.
* @param asJSON If true, result is in a JSON format easily parsable by
* a machine. If false (default), the returned list
* contains human readable strings.
* @return methods
*/
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy