org.sonatype.gossip.trigger
Class NameValueTriggerSupport
java.lang.Object
org.sonatype.gossip.trigger.NameValueTriggerSupport
- All Implemented Interfaces:
- Trigger
- Direct Known Subclasses:
- EnvironmentVariableTrigger, SystemPropertyTrigger
public abstract class NameValueTriggerSupport
- extends Object
- implements Trigger
Support for triggers which expect a name and value for configuration.
- Since:
- 1.0
- Author:
- Jason Dillon
Field Summary |
protected org.slf4j.Logger |
log
|
log
protected transient org.slf4j.Logger log
NameValueTriggerSupport
public NameValueTriggerSupport()
setName
public void setName(String name)
getName
public String getName()
setValue
public void setValue(String value)
getValue
public String getValue()
setTrim
public void setTrim(boolean flag)
isTrim
public boolean isTrim()
setIgnoreCase
public void setIgnoreCase(boolean flag)
isIgnoreCase
public boolean isIgnoreCase()
resolve
protected abstract String resolve()
isActive
public boolean isActive()
- Description copied from interface:
Trigger
- Determine if a profile is active.
- Specified by:
isActive
in interface Trigger
- Returns:
- True if the profile is active.
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012 Sonatype. All Rights Reserved.