Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.concern.client.commandline
Class CreateCommand  view CreateCommand download CreateCommand.java

java.lang.Object
  extended byorg.concern.client.commandline.Command
      extended byorg.concern.client.commandline.CreateCommand
All Implemented Interfaces:
java.lang.Runnable

public class CreateCommand
extends Command

Example: create a project with the id 99

 concern.sh Project create 99
 


Field Summary
private  java.lang.String[] subjects
           
 
Fields inherited from class org.concern.client.commandline.Command
args, controller
 
Constructor Summary
CreateCommand()
           
 
Method Summary
 java.lang.String[] getSubjects()
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 void setArguments(java.lang.String[] args)
           
 void setSubjects(java.lang.String[] subjects)
           
 
Methods inherited from class org.concern.client.commandline.Command
setController
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subjects

private java.lang.String[] subjects
Constructor Detail

CreateCommand

public CreateCommand()
Method Detail

getSubjects

public java.lang.String[] getSubjects()

setSubjects

public void setSubjects(java.lang.String[] subjects)

setArguments

public void setArguments(java.lang.String[] args)
Overrides:
setArguments in class Command

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable
Specified by:
run in class Command