FormatSteppublic class CompoundFormatStep extends Object implements FormatStep
FormatStep.createCompoundStep(FormatStep...).FormatStep.ItemTypeNO_STEPS, NULL_STEP| Modifier | Constructor | Description |
|---|---|---|
protected |
CompoundFormatStep(FormatStep[] clonedSteps) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
childStepCount() |
|
FormatStep[] |
childSteps() |
Get child steps that compose this step.
|
int |
estimateLength() |
Emit an estimate of the length of data which this step will produce.
|
FormatStep |
getChildStep(int idx) |
|
FormatStep.ItemType |
getItemType() |
Get the item type of this step.
|
boolean |
isCallerInformationRequired() |
Indicates whether or not caller information is required for this format step.
|
void |
render(StringBuilder builder,
ExtLogRecord record) |
Render a part of the log record.
|
void |
render(Formatter formatter,
StringBuilder builder,
ExtLogRecord record) |
Render a part of the log record to the given formatter.
|
createCompoundStepprotected CompoundFormatStep(FormatStep[] clonedSteps)
public void render(Formatter formatter, StringBuilder builder, ExtLogRecord record)
FormatSteprender in interface FormatStepformatter - the formatter to render tobuilder - the string builder to append torecord - the record being renderedpublic void render(StringBuilder builder, ExtLogRecord record)
FormatSteprender in interface FormatStepbuilder - the string builder to append torecord - the record being renderedpublic int estimateLength()
FormatStepestimateLength in interface FormatSteppublic boolean isCallerInformationRequired()
FormatStepisCallerInformationRequired in interface FormatSteptrue if caller information is required, otherwise falsepublic FormatStep.ItemType getItemType()
FormatStepgetItemType in interface FormatSteppublic int childStepCount()
childStepCount in interface FormatSteppublic FormatStep getChildStep(int idx)
getChildStep in interface FormatSteppublic FormatStep[] childSteps()
FormatStepchildSteps in interface FormatStepnull)Copyright © 2019 JBoss by Red Hat. All rights reserved.