Class Service
- java.lang.Object
-
- org.opennms.netmgt.config.service.Service
-
- All Implemented Interfaces:
Serializable
public class Service extends Object implements Serializable
Service to be launched by the manager.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAttribute(Attribute attribute)voidaddInvoke(Invoke invoke)booleanequals(Object obj)List<Attribute>getAttributes()StringgetClassName()List<Invoke>getInvokes()StringgetName()inthashCode()BooleanisEnabled()booleanremoveAttribute(Attribute attribute)booleanremoveInvoke(Invoke invoke)voidsetAttributes(List<Attribute> attributes)voidsetClassName(String className)voidsetEnabled(Boolean enabled)voidsetInvokes(List<Invoke> invokes)voidsetName(String name)
-
-
-
Method Detail
-
isEnabled
public Boolean isEnabled()
-
setEnabled
public void setEnabled(Boolean enabled)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getClassName
public String getClassName()
-
setClassName
public void setClassName(String className)
-
addAttribute
public void addAttribute(Attribute attribute)
-
removeAttribute
public boolean removeAttribute(Attribute attribute)
-
addInvoke
public void addInvoke(Invoke invoke)
-
removeInvoke
public boolean removeInvoke(Invoke invoke)
-
-