public class StringReplacementTask extends Task<Map<File,String>,Map<File,String>>
| Constructor and Description |
|---|
StringReplacementTask() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<File,String> |
process(Map<File,String> input) |
StringReplacementTask |
replace(Collection<ReplacementTuple<?>> replacements)
Add a collection of replacements, in case you do not want to use the fluent API.
|
ReplacementTuple<StringReplacementTask> |
replace(String regex)
Set a regular expression to be used for the replacement.
|
execute, getExecutionService, run, setExecutionService, setPreviousTask, then, thenpublic ReplacementTuple<StringReplacementTask> replace(String regex)
public StringReplacementTask replace(Collection<ReplacementTuple<?>> replacements)
Copyright © 2017 JBoss by Red Hat. All rights reserved.