Home | History | Annotate | Download | only in weave

Lines Matching defs:Command

15 class Command {
30 // Returns the full command ID.
33 // Returns the full name of the command.
36 // Returns the full path to the component this command is intended for.
39 // Returns the command state.
40 virtual Command::State GetState() const = 0;
42 // Returns the origin of the command.
43 virtual Command::Origin GetOrigin() const = 0;
45 // Returns the command parameters.
48 // Returns the command progress.
51 // Returns the command results.
54 // Returns the command error.
57 // Updates the command progress. The |progress| should match the schema.
62 // Sets command into terminal "done" state.
63 // Updates the command results. The |results| should match the schema.
68 // Sets command into paused state.
69 // This is not terminal state. Command can be resumed with |SetProgress| call.
72 // Sets command into error state and assign error.
73 // This is not terminal state. Command can be resumed with |SetProgress| call.
76 // Aborts command execution.
77 // Sets command into terminal "aborted" state.
80 // Cancels command execution.
81 // Sets command into terminal "canceled" state.
85 virtual ~Command() {}