public class BlockParams extends Object implements Tagged
StmtProps include:
Since every layer of a configuration file (statement yaml format) can have the
fields above, they will be layered as appropriate for each element.
Generally speaking, names are concatenated with hyphens to yield more specific names,
while bindings, config and tags are layered, with same-named bindings overriding at
lower levels.
See StmtsBlock and StmtsDoc for more details.
The name represents a symbolic name for the statements in the list. Each statement will be given a specific name by enumeration, so the first statement in the below example will be named "testname-1", the second "testname-2" and so on.
The bindings will be used to apply properties and data to each of the statements individually. For bindings that contain data,
Example yaml:
name: testname tags: group: updates config: timeout: 12345ms bindings: field1: Static(5) field2: ToDate()
| Constructor and Description |
|---|
BlockParams() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyBlockParams(BlockParams other) |
Map<String,String> |
getBindings() |
String |
getName() |
Map<String,String> |
getParams() |
Map<String,String> |
getTags() |
void |
setBindings(Map<String,String> bindings) |
void |
setName(String name) |
void |
setParams(Map<String,String> config) |
void |
setTags(Map<String,String> tags) |
public String getName()
public void setName(String name)
public void applyBlockParams(BlockParams other)
Copyright © 2017. All rights reserved.