public abstract class ParserActionBase extends Object implements ParserAction
Constructor and Description |
---|
ParserActionBase(String propertyName,
boolean prefix,
Operation operation,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
abstract Object |
apply(Properties props)
Apply this action to props and return the result.
|
boolean |
equals(Object obj) |
String |
getFieldName()
Return the field name in an object that is set with the result
|
protected Operation |
getOperation() |
String |
getPropertyName()
Return the property name or prefix for which this action
is applied.
|
int |
hashCode() |
boolean |
isPrefix()
Return whether this action is for an exact match or a prefix
match (true).
|
public String getPropertyName()
ParserAction
getPropertyName
in interface ParserAction
public boolean isPrefix()
ParserAction
isPrefix
in interface ParserAction
public String getFieldName()
ParserAction
getFieldName
in interface ParserAction
public abstract Object apply(Properties props)
ParserAction
apply
in interface ParserAction
protected Operation getOperation()
Copyright © 2019 JBoss by Red Hat. All rights reserved.