public class IfProcessorImpl extends Object implements IfProcessor
| 限定符和类型 | 字段和说明 |
|---|---|
private BranchNode |
falseBranch |
private KeyManager |
keyManager |
private Rule |
rule |
private BranchNode |
trueBranch |
| 构造器和说明 |
|---|
IfProcessorImpl(@NotNull Rule rule,
@NotNull BranchNode trueBranch,
BranchNode falseBranch) |
IfProcessorImpl(@NotNull Rule rule,
@NotNull BranchNode trueBranch,
BranchNode falseBranch,
KeyManager keyManager) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
BranchNode |
getFalseBranch() |
KeyManager |
getKeyManager() |
Rule |
getRule() |
BranchNode |
getTrueBranch() |
void |
initialize() |
@NotNull ProcessStatus |
process(@NotNull Context context) |
void |
setFalseBranch(BranchNode falseBranch) |
void |
setKeyManager(KeyManager keyManager) |
void |
setRule(Rule rule) |
void |
setTrueBranch(BranchNode trueBranch) |
private Rule rule
private BranchNode trueBranch
private BranchNode falseBranch
private KeyManager keyManager
public IfProcessorImpl(@NotNull
@NotNull Rule rule,
@NotNull
@NotNull BranchNode trueBranch,
BranchNode falseBranch)
public IfProcessorImpl(@NotNull
@NotNull Rule rule,
@NotNull
@NotNull BranchNode trueBranch,
BranchNode falseBranch,
KeyManager keyManager)
public Rule getRule()
getRule 在接口中 IfProcessorpublic void setRule(Rule rule)
setRule 在接口中 IfProcessorpublic BranchNode getTrueBranch()
getTrueBranch 在接口中 IfProcessorpublic void setTrueBranch(BranchNode trueBranch)
setTrueBranch 在接口中 IfProcessorpublic BranchNode getFalseBranch()
getFalseBranch 在接口中 IfProcessorpublic void setFalseBranch(BranchNode falseBranch)
setFalseBranch 在接口中 IfProcessorpublic void setKeyManager(KeyManager keyManager)
setKeyManager 在接口中 IfProcessorpublic KeyManager getKeyManager()
getKeyManager 在接口中 IfProcessor@NotNull public @NotNull ProcessStatus process(@NotNull @NotNull Context context) throws Exception
process 在接口中 Processor<ProcessStatus>Exceptionpublic void initialize()
initialize 在接口中 LifecycleCopyright © 2021. All rights reserved.