Class URIInstructionExecutor
java.lang.Object
com.levigo.jadice.web.client.tools.instruction.URIInstructionExecutor
- All Implemented Interfaces:
InstructionExecutor<PageView>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanExecute(Instruction instruction, PageView pageView) Indicates whether or not this instance is able to execute the givenInstruction, using the given context object where necessary.voidexecute(Instruction in, PageView pageView) Perform that which is described by the givenInstruction.booleanpertainsTo(Class<? extends Instruction> aClass) Returns whether or not thisInstructionExecutorknows how to deal with a given type ofInstruction.
-
Constructor Details
-
URIInstructionExecutor
public URIInstructionExecutor() -
URIInstructionExecutor
-
-
Method Details
-
pertainsTo
Description copied from interface:InstructionExecutorReturns whether or not thisInstructionExecutorknows how to deal with a given type ofInstruction.- Specified by:
pertainsToin interfaceInstructionExecutor<PageView>- Parameters:
aClass- the type ofInstructionfor which information is requested- Returns:
trueif thisInstructionExecutoris able to handleInstructions of the given type,falseotherwise.
-
canExecute
Description copied from interface:InstructionExecutorIndicates whether or not this instance is able to execute the givenInstruction, using the given context object where necessary.- Specified by:
canExecutein interfaceInstructionExecutor<PageView>- Parameters:
instruction- the instruction in questionpageView- holds additional, implementation-specific information- Returns:
trueif this instance is able to execute the givenInstructionusing the given context object where necessary;falseotherwise.
-
execute
Description copied from interface:InstructionExecutorPerform that which is described by the givenInstruction.- Specified by:
executein interfaceInstructionExecutor<PageView>- Parameters:
in- holds the information which specifies what to performpageView- holds additional, implementation-specific information
-