public class File extends ParameterizedGraphCondition
FileContent condition, however is concerned only
with the file metadata and not the content inside.
Example:
File.inFilesNamed("{filename}")
| Constructor and Description |
|---|
File() |
| Modifier and Type | Method and Description |
|---|---|
org.ocpsoft.rewrite.config.ConditionBuilder |
as(String variable)
Optionally specify the variable name to use for the output of this condition
|
protected boolean |
evaluateAndPopulateValueStores(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
FrameCreationContext frameCreationContext) |
protected boolean |
evaluateWithValueStore(GraphRewrite event,
org.ocpsoft.rewrite.context.EvaluationContext context,
FrameContext frameContext) |
static FileFrom |
from(String from) |
Set<String> |
getRequiredParameterNames() |
protected String |
getVarname() |
static File |
inFileNamed(String filenamePattern) |
void |
setFilenamePattern(org.ocpsoft.rewrite.param.RegexParameterizedPatternParser filenamePattern) |
void |
setParameterStore(org.ocpsoft.rewrite.param.ParameterStore store) |
String |
toString() |
evaluateevaluate, getInputVariablesName, getOutputVariablesName, setInputVariablesName, setOutputVariablesName, setResultspublic org.ocpsoft.rewrite.config.ConditionBuilder as(String variable)
public void setParameterStore(org.ocpsoft.rewrite.param.ParameterStore store)
protected String getVarname()
getVarname in class ParameterizedGraphConditionprotected boolean evaluateAndPopulateValueStores(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, FrameCreationContext frameCreationContext)
evaluateAndPopulateValueStores in class ParameterizedGraphConditionprotected boolean evaluateWithValueStore(GraphRewrite event, org.ocpsoft.rewrite.context.EvaluationContext context, FrameContext frameContext)
evaluateWithValueStore in class ParameterizedGraphConditionpublic void setFilenamePattern(org.ocpsoft.rewrite.param.RegexParameterizedPatternParser filenamePattern)
Copyright © 2018 JBoss by Red Hat. All rights reserved.