dion        2002/06/23 23:13:37

  Modified:    src/java/org/apache/maven/plugin Extension.java
  Log:
  Fix scope of fields and add execute property
  
  Revision  Changes    Path
  1.2       +27 -5     
jakarta-turbine-maven/src/java/org/apache/maven/plugin/Extension.java
  
  Index: Extension.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/java/org/apache/maven/plugin/Extension.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Extension.java    24 Jun 2002 00:56:43 -0000      1.1
  +++ Extension.java    24 Jun 2002 06:13:36 -0000      1.2
  @@ -66,13 +66,15 @@
   public class Extension extends BaseObject
   {
       /** the id of the plugin being extended */
  -    String plugin;
  +    private String plugin;
       /** where to extend the task - before or after */
  -    String position;
  +    private String position;
       /** the priority of this extension vs others */
  -    String priority;
  +    private String priority;
       /** the task of the plugin being extended */
  -    String task;
  +    private String task;
  +    /** the task of this plugin to execute */
  +    private String execute;
       
       /**
        * Create an instance of Extension
  @@ -163,6 +165,26 @@
       public void setTask(String task)
       {
           this.task = task;
  +    }
  +    
  +    /**
  +     * Getter for property execute.
  +     *
  +     * @return Value of property execute.
  +     */
  +    public String getExecute()
  +    {
  +        return execute;
  +    }
  +    
  +    /**
  +     * Setter for property execute.
  +     *
  +     * @param execute New value of property execute.
  +     */
  +    public void setExecute(String execute)
  +    {
  +        this.execute = execute;
       }
       
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to