public abstract class CliHandlerBase extends org.osgl.Osgl.F1<CliContext,java.lang.Void> implements CliHandler
Destroyable.Util| Constructor and Description |
|---|
CliHandlerBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
appliedIn(Act.Mode mode)
Check if this handler applied in a specific
Act.Mode |
java.lang.Void |
apply(CliContext context) |
void |
destroy() |
boolean |
isDestroyed() |
protected void |
releaseResources() |
java.lang.Class<? extends java.lang.annotation.Annotation> |
scope() |
java.lang.String |
summary()
Returns the summary of the command.
|
andThen, andThen, applyOrElse, compose, compose, compose, compose, compose, compose, curry, invert, lift, orElse, timesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommandLine, handle, optionspublic final java.lang.Void apply(CliContext context) throws org.osgl.exception.NotAppliedException, org.osgl.Osgl.Break
apply in interface org.osgl.Osgl.Function<CliContext,java.lang.Void>org.osgl.exception.NotAppliedExceptionorg.osgl.Osgl.Breakpublic boolean appliedIn(Act.Mode mode)
CliHandlerCheck if this handler applied in a specific Act.Mode
appliedIn in interface CliHandlertrue if this handler applied in the mode, or false otherwisepublic void destroy()
destroy in interface Destroyablepublic java.lang.Class<? extends java.lang.annotation.Annotation> scope()
scope in interface Destroyablepublic java.lang.String summary()
CliHandlerReturns the summary of the command. This is used to display the help information about this command. If null or empty string returned, then there will be no summary section in the help for this command
summary in interface CliHandlerpublic boolean isDestroyed()
isDestroyed in interface Destroyableprotected void releaseResources()
Copyright © 2014–2017 ActFramework. All rights reserved.