Class Path
- java.lang.Object
-
- org.opennms.netmgt.config.destinationPaths.Path
-
- All Implemented Interfaces:
java.io.Serializable
public class Path extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_INITIAL_DELAY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEscalate(int index, Escalate escalate)
void
addEscalate(Escalate escalate)
void
addTarget(Target target)
void
clearEscalates()
void
clearTargets()
boolean
equals(java.lang.Object obj)
java.util.List<Escalate>
getEscalates()
java.util.Optional<java.lang.String>
getInitialDelay()
java.lang.String
getName()
java.util.List<Target>
getTargets()
int
hashCode()
boolean
removeEscalate(Escalate escalate)
boolean
removeTarget(Target target)
void
setEscalates(java.util.List<Escalate> escalates)
void
setInitialDelay(java.lang.String initialDelay)
void
setName(java.lang.String name)
void
setTargets(java.util.List<Target> targets)
java.lang.String
toString()
-
-
-
Field Detail
-
DEFAULT_INITIAL_DELAY
public static final java.lang.String DEFAULT_INITIAL_DELAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getInitialDelay
public java.util.Optional<java.lang.String> getInitialDelay()
-
setInitialDelay
public void setInitialDelay(java.lang.String initialDelay)
-
getTargets
public java.util.List<Target> getTargets()
-
setTargets
public void setTargets(java.util.List<Target> targets)
-
addTarget
public void addTarget(Target target)
-
removeTarget
public boolean removeTarget(Target target)
-
clearTargets
public void clearTargets()
-
getEscalates
public java.util.List<Escalate> getEscalates()
-
setEscalates
public void setEscalates(java.util.List<Escalate> escalates)
-
addEscalate
public void addEscalate(Escalate escalate)
-
addEscalate
public void addEscalate(int index, Escalate escalate)
-
removeEscalate
public boolean removeEscalate(Escalate escalate)
-
clearEscalates
public void clearEscalates()
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-