Class Command
- java.lang.Object
-
- org.opennms.netmgt.config.notificationCommands.Command
-
- All Implemented Interfaces:
java.io.Serializable
public class Command extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Command()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addArgument(Argument argument)
boolean
equals(java.lang.Object obj)
java.util.List<Argument>
getArguments()
java.lang.Boolean
getBinary()
java.util.Optional<java.lang.String>
getComment()
java.util.Optional<java.lang.String>
getContactType()
java.lang.String
getExecute()
java.lang.String
getName()
java.lang.Boolean
getServiceRegistry()
int
hashCode()
boolean
removeArgument(Argument argument)
void
setArguments(java.util.List<Argument> arguments)
void
setBinary(java.lang.Boolean binary)
void
setComment(java.lang.String comment)
void
setContactType(java.lang.String contactType)
void
setExecute(java.lang.String execute)
void
setName(java.lang.String name)
void
setServiceRegistry(java.lang.Boolean serviceRegistry)
-
-
-
Method Detail
-
getBinary
public java.lang.Boolean getBinary()
-
setBinary
public void setBinary(java.lang.Boolean binary)
-
getServiceRegistry
public java.lang.Boolean getServiceRegistry()
-
setServiceRegistry
public void setServiceRegistry(java.lang.Boolean serviceRegistry)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getExecute
public java.lang.String getExecute()
-
setExecute
public void setExecute(java.lang.String execute)
-
getComment
public java.util.Optional<java.lang.String> getComment()
-
setComment
public void setComment(java.lang.String comment)
-
getContactType
public java.util.Optional<java.lang.String> getContactType()
-
setContactType
public void setContactType(java.lang.String contactType)
-
getArguments
public java.util.List<Argument> getArguments()
-
setArguments
public void setArguments(java.util.List<Argument> arguments)
-
addArgument
public void addArgument(Argument argument)
-
removeArgument
public boolean removeArgument(Argument argument)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-