Uses of Interface
cn.sliew.milky.common.chain.Command
-
Packages that use Command Package Description cn.sliew.milky.common.chain -
-
Uses of Command in cn.sliew.milky.common.chain
Classes in cn.sliew.milky.common.chain that implement Command Modifier and Type Class Description classLogCommandMethods in cn.sliew.milky.common.chain with type parameters of type Command Modifier and Type Method Description <T extends Command<K,V>>
TPipeline. get(Class<T> commandType)Returns theCommandof the specified type in this pipeline.Methods in cn.sliew.milky.common.chain that return Command Modifier and Type Method Description Command<K,V>PipelineProcess. command()TheCommandthat is bound thisPipelineProcess.CommandDefaultPipeline. first()Command<K,V>Pipeline. first()Returns the firstCommandin this pipeline.CommandDefaultPipeline. get(Class commandType)CommandDefaultPipeline. get(String name)Command<K,V>Pipeline. get(String name)Returns theCommandwith the specified name in this pipeline.Command<?,?>PipelineException. getFailedCommand()CommandDefaultPipeline. last()Command<K,V>Pipeline. last()Returns the lastCommandin this pipeline.CommandDefaultPipeline. remove(Class commandType)CommandDefaultPipeline. remove(String name)Command<K,V>Pipeline. remove(Class commandType)Removes theCommandof the specified type from this pipeline.Command<K,V>Pipeline. remove(String name)Removes theCommandwith the specified name from this pipeline.CommandDefaultPipeline. removeFirst()Command<K,V>Pipeline. removeFirst()Removes the firstCommandin this pipeline.CommandDefaultPipeline. removeLast()Command<K,V>Pipeline. removeLast()Removes the lastCommandin this pipeline.Methods in cn.sliew.milky.common.chain that return types with arguments of type Command Modifier and Type Method Description Map<String,Command<K,V>>DefaultPipeline. toMap()Map<String,Command<K,V>>Pipeline. toMap()Converts this pipeline into an orderedMapwhose keys are command names and whose values are commands.Methods in cn.sliew.milky.common.chain with parameters of type Command Modifier and Type Method Description PipelineDefaultPipeline. addAfter(String baseName, String name, Command command)Pipeline<K,V>Pipeline. addAfter(String baseName, String name, Command<K,V> command)Inserts aCommandafter an existing command of this pipeline.PipelineDefaultPipeline. addBefore(String baseName, String name, Command command)Pipeline<K,V>Pipeline. addBefore(String baseName, String name, Command<K,V> command)Inserts aCommandbefore an existing command of this pipeline.PipelineDefaultPipeline. addFirst(String name, Command command)Pipeline<K,V>Pipeline. addFirst(String name, Command<K,V> command)Inserts aPipelineProcessat the first position of this pipeline.PipelineDefaultPipeline. addLast(String name, Command command)Pipeline<K,V>Pipeline. addLast(String name, Command<K,V> command)Appends aPipelineProcessat the last position of this pipeline.PipelineProcessDefaultPipeline. context(Command command)PipelineProcess<K,V>Pipeline. context(Command<K,V> command)Returns the context object of the specifiedCommandin this pipeline.PipelineDefaultPipeline. remove(Command command)Pipeline<K,V>Pipeline. remove(Command<K,V> command)Removes the specifiedCommandfrom this pipeline.Method parameters in cn.sliew.milky.common.chain with type arguments of type Command Modifier and Type Method Description PipelineProcess<K,V>Pipeline. context(Class<? extends Command> commandType)Returns the context object of theCommandof the specified type in this pipeline.Constructors in cn.sliew.milky.common.chain with parameters of type Command Constructor Description PipelineException(String message, Throwable cause, Context<K,V> context, Command<K,V> failedCommand)
-