Package org.apache.maven.model
Class Notifier
java.lang.Object
org.apache.maven.model.BaseObject
org.apache.maven.model.Notifier
- All Implemented Interfaces:
Serializable,Cloneable,InputLocationTracker
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.model.BaseObject
BaseObject.ChildrenTracking -
Field Summary
Fields inherited from class org.apache.maven.model.BaseObject
childrenTracking, delegate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfiguration(String key, String value) clone()booleangetLocation(Object key) Gets the location of the specified field in the input source.getType()inthashCode()booleanbooleanbooleanbooleannotifierToApiV3(List<Notifier> list) notifierToApiV4(List<Notifier> list) protected booleanvoidsetAddress(String address) voidsetConfiguration(Properties configuration) voidsetLocation(Object key, InputLocation location) Sets the location of the specified field.voidsetSendOnError(boolean sendOnError) voidsetSendOnFailure(boolean sendOnFailure) voidsetSendOnSuccess(boolean sendOnSuccess) voidsetSendOnWarning(boolean sendOnWarning) voidMethods inherited from class org.apache.maven.model.BaseObject
update
-
Constructor Details
-
Notifier
public Notifier() -
Notifier
-
Notifier
-
-
Method Details
-
clone
-
getDelegate
- Overrides:
getDelegatein classBaseObject
-
equals
-
hashCode
public int hashCode() -
getType
-
setType
-
isSendOnError
public boolean isSendOnError() -
setSendOnError
public void setSendOnError(boolean sendOnError) -
isSendOnFailure
public boolean isSendOnFailure() -
setSendOnFailure
public void setSendOnFailure(boolean sendOnFailure) -
isSendOnSuccess
public boolean isSendOnSuccess() -
setSendOnSuccess
public void setSendOnSuccess(boolean sendOnSuccess) -
isSendOnWarning
public boolean isSendOnWarning() -
setSendOnWarning
public void setSendOnWarning(boolean sendOnWarning) -
getAddress
-
setAddress
-
getConfiguration
-
setConfiguration
-
addConfiguration
-
getLocation
Description copied from interface:InputLocationTrackerGets the location of the specified field in the input source.- Parameters:
key- The key of the field, must not benull.- Returns:
- The location of the field in the input source or
nullif unknown.
-
setLocation
Description copied from interface:InputLocationTrackerSets the location of the specified field.- Parameters:
key- The key of the field, must not benull.location- The location of the field, may benull.
-
replace
- Overrides:
replacein classBaseObject
-
notifierToApiV4
-
notifierToApiV3
-