public class IfElseBlock extends Object
| Constructor and Description |
|---|
IfElseBlock() |
| Modifier and Type | Method and Description |
|---|---|
static IfElseBlock |
create(CommandContext ctx) |
static IfElseBlock |
get(CommandContext ctx) |
Operation |
getConditionExpression() |
org.jboss.dmr.ModelNode |
getConditionRequest() |
org.jboss.dmr.ModelNode |
getIfRequest() |
boolean |
isInElse() |
boolean |
isInIf() |
static IfElseBlock |
remove(CommandContext ctx) |
void |
setCondition(String condition,
org.jboss.dmr.ModelNode request) |
void |
setIfRequest(org.jboss.dmr.ModelNode request) |
void |
setInElse() |
public static IfElseBlock create(CommandContext ctx) throws CommandLineException
CommandLineExceptionpublic static IfElseBlock get(CommandContext ctx) throws CommandLineException
CommandLineExceptionpublic static IfElseBlock remove(CommandContext ctx) throws CommandLineException
CommandLineExceptionpublic void setCondition(String condition, org.jboss.dmr.ModelNode request) throws CommandLineException
CommandLineExceptionpublic org.jboss.dmr.ModelNode getConditionRequest()
public Operation getConditionExpression()
public void setIfRequest(org.jboss.dmr.ModelNode request)
throws CommandLineException
CommandLineExceptionpublic org.jboss.dmr.ModelNode getIfRequest()
public boolean isInIf()
public boolean isInElse()
public void setInElse()
Copyright © 2014 JBoss by Red Hat. All rights reserved.