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

Quick Search    Search Deep

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

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

public class ListCommand
extends Command

Example: list all projects that are enlisted for the asynchronous Implementation activity

 concern.sh Project list org.concern.test.project.Implementation
 


Field Summary
private  java.lang.String[] activities
           
 
Fields inherited from class org.concern.client.commandline.Command
args, controller
 
Constructor Summary
ListCommand()
           
 
Method Summary
 java.lang.String[] getActivities()
           
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 void setActivities(java.lang.String[] activities)
           
 void setArguments(java.lang.String[] args)
           
 
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

activities

private java.lang.String[] activities
Constructor Detail

ListCommand

public ListCommand()
Method Detail

getActivities

public java.lang.String[] getActivities()

setActivities

public void setActivities(java.lang.String[] activities)

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