Package org.openstack4j.model.network
Interface Agent
-
- All Superinterfaces:
Buildable<AgentBuilder>,ModelEntity,Serializable
- All Known Implementing Classes:
NeutronAgent
public interface Agent extends ModelEntity, Buildable<AgentBuilder>
This class represents a neutron agent- Author:
- Yin Zhang
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classAgent.Typeneutron agent type-
Nested classes/interfaces inherited from interface org.openstack4j.common.Buildable
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetAdminStateUp()Agent.TypegetAgentType()booleangetAlive()StringgetBinary()DategetCreatedAt()StringgetDescription()DategetHeartbeatTimestamp()StringgetHost()StringgetId()DategetStartedAt()StringgetTopic()
-
-
-
Method Detail
-
getAdminStateUp
boolean getAdminStateUp()
- Returns:
- the admin state up for the agent
-
getAgentType
Agent.Type getAgentType()
- Returns:
- the type of the agent
-
getAlive
boolean getAlive()
- Returns:
- true of the agent is alive, otherwise return false
-
getBinary
String getBinary()
- Returns:
- the binary for the agent
-
getCreatedAt
Date getCreatedAt()
- Returns:
- the created time stamp of the agent
-
getDescription
String getDescription()
- Returns:
- the description for the agent
-
getHeartbeatTimestamp
Date getHeartbeatTimestamp()
- Returns:
- the heartbeat timestamp for the agent
-
getHost
String getHost()
- Returns:
- the host of the agent
-
getId
String getId()
- Returns:
- the ID of the agent
-
getStartedAt
Date getStartedAt()
- Returns:
- the start time stamp of the agent
-
getTopic
String getTopic()
- Returns:
- the topic of the agent
-
-