|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.ant.task.property.AbstractPropertyManipulator
public abstract class AbstractPropertyManipulator
Abstract manipulator that supports properties by type. Contains hook
supportsProperty(String)
for subclasses to decide if given property name should be supported.
Field Summary | |
---|---|
protected java.util.List<java.lang.Class<?>> |
supportedTypes
|
Constructor Summary | |
---|---|
protected |
AbstractPropertyManipulator(java.lang.Class<?> firstSupported,
java.lang.Class<?>... restSupported)
|
Method Summary | |
---|---|
boolean |
supports(java.lang.Class<?> propertyType,
java.lang.String propertyName)
|
protected boolean |
supportsProperty(java.lang.String propName)
Support for specific property name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.util.List<java.lang.Class<?>> supportedTypes
Constructor Detail |
---|
protected AbstractPropertyManipulator(java.lang.Class<?> firstSupported, java.lang.Class<?>... restSupported)
Method Detail |
---|
public boolean supports(java.lang.Class<?> propertyType, java.lang.String propertyName)
supports
in interface AntPropertyManipulator
protected boolean supportsProperty(java.lang.String propName)
propName
- property name
true
, if property with given name is supported
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |