public final class JobFailurePattern extends Object
AbstractFailureEvent objects that occur over time.
This class is not thread-safe.
| Constructor and Description |
|---|
JobFailurePattern(String name)
Constructs a new job failure pattern with a given name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(AbstractFailureEvent event)
Adds a failure event to this job failure pattern.
|
String |
getName()
Returns the name of the job failure pattern.
|
Iterator<AbstractFailureEvent> |
iterator()
Returns an iterator to access all the events stored in this job failure pattern.
|
void |
removeEvent(AbstractFailureEvent event)
Removes a failure event from this job failure pattern.
|
public JobFailurePattern(String name)
name - the name of the job failure patternpublic String getName()
public void addEvent(AbstractFailureEvent event)
event - the event to be addedpublic void removeEvent(AbstractFailureEvent event)
event - the event to be removedpublic Iterator<AbstractFailureEvent> iterator()
Copyright © 2013–2014. All rights reserved.