|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object tk.exgerm.ucsearch.UCSCommand
public class UCSCommand
Field Summary |
---|
Fields inherited from interface tk.exgerm.core.plugin.ExGCommand |
---|
ACTIVE_GRAPH_CHANGED, ACTIVE_NODE_CHANGED, CONSOLE_ACTIVE_GRAPH, CONSOLE_ACTIVE_NODE, CURRENT_FILESYSTEM_PATH, FILESYSTEM_PATH_CHANGED, SHOW_PATH_IN_PROMPT_CHANGED |
Constructor Summary | |
---|---|
UCSCommand(ICoreContext context)
|
Method Summary | |
---|---|
Object |
execute(PrintStream out,
String... params)
Izvršava komandu. |
String |
getHelp()
Treba da vrati string sa opisom kako se koristi komanda. |
String |
getKeyword()
Vraća ključnu reč na koju se komanda odaziva. |
String |
getSyntax()
Vraća sintaksu koja se koristi za ovu komandu. |
boolean |
returnsGraph()
Koristi se za proveru da li komanda vraća objekat tipa IGraph , da bi
IPipeLine mogao da utvrdi na
kojoj poziciji u pipeline-u algoritam može da se nalazi. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UCSCommand(ICoreContext context)
Method Detail |
---|
public Object execute(PrintStream out, String... params) throws ExGCommandErrorException
ExGCommand
execute
in interface ExGCommand
params
- Lista parametara komande
IGraph
ExGCommand.returnsGraph()
vraća true.
ExGCommandErrorException
- Ukoliko postoji graška u prosleđenim parametrimapublic String getHelp()
ExGCommand
getHelp
in interface ExGCommand
public String getKeyword()
ExGCommand
getKeyword
in interface ExGCommand
public String getSyntax()
ExGCommand
getSyntax
in interface ExGCommand
public boolean returnsGraph()
ExGCommand
IGraph
, da bi
IPipeLine
mogao da utvrdi na
kojoj poziciji u pipeline-u algoritam može da se nalazi.
returnsGraph
in interface ExGCommand
IGraph
, inače false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |