[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-cvs-commits
Subject:    [jboss-cvs] jbossbuild/src/main/org/jboss/ant/types/deployment  ...
From:       Ruel Loehr <ruel.loehr () jboss ! com>
Date:       2005-10-31 20:21:53
Message-ID: E1EWgAD-0000V7-W0 () committer01 ! frg ! pub ! inap ! atl ! jboss ! com
[Download RAW message or body]

  User: rloehr  
  Date: 05/10/31 15:21:53

  Modified:    src/main/org/jboss/ant/types/deployment  Tag:
                        BRANCH_JBBUILD_DEV Profile.java
  Log:
  JBBUILD-175 - introduce notion of profiles
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +108 -10   jbossbuild/src/main/org/jboss/ant/types/deployment/Attic/Profile.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Profile.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbossbuild/src/main/org/jboss/ant/types/deployment/Attic/Profile.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -b -r1.1.2.1 -r1.1.2.2
  --- Profile.java	26 Oct 2005 21:34:01 -0000	1.1.2.1
  +++ Profile.java	31 Oct 2005 20:21:53 -0000	1.1.2.2
  @@ -6,16 +6,33 @@
    */
   package org.jboss.ant.types.deployment;
   
  +import java.util.Vector;
  +
   import org.jboss.ant.types.AbstractDataType;
   
  +
   /**
    * A Profile.
    * 
    * @author <a href="ruel.loehr@jboss.com">Ruel Loehr</a>
  - * @version $Revision: 1.1.2.1 $
  + * @version $Revision: 1.1.2.2 $
    */
   public class Profile extends AbstractDataType
   {
  +   /** The profile */
  +   private String profile;
  +   
  +   /** The name */
  +   private String name;
  +   
  +   /** The deployments */
  +   Vector deployments=new Vector();
  +   
  +   /** The deploymentTypes */
  +   private Vector deploymentTypes=new Vector();
  +   
  +   /** The outputPath */
  +   private String outputPath;
   
      /**
       * Create a new Profile.
  @@ -28,13 +45,94 @@
      }
   
      /**
  +    * Add a deploymentProfile
  +    * 
  +    * @param deploymentProfile the deploymentProfile to add
  +    */
  +   public void addDeployment(Deployment deployment)
  +   {
  +      deployments.add(deployment);
  +   }      
  +   
  +   /**
  +    * Add a deploymentProfile
  +    * 
  +    * @param deploymentProfile the deploymentProfile to add
  +    */
  +   public void addDeploymentType(DeploymentType deploymentType)
  +   {
  +      deploymentTypes.add(deploymentType);
  +   }      
  + 
  +   /**
  +    * Get the profile.
       *
  +    * @return the profile.
       */
  -   protected void doValidate()
  +   public String getProfile()
      {
  +      return profile;
  +   }
  +   /**
  +    * Set the profile.
  +    * 
  +    * @param profile The profile to set.
  +    */
  +   public void setProfile(String profile)
  +   {
  +      this.profile = profile;
  +   }
  +   
        
   
  +   /**
  +    * Get the deployments.
  +    * 
  +    * @return the deployments.
  +    */
  +   public Vector getDeployments()
  +   {
  +      return deployments;
      }
   
  +   public void doValidate()
  +   {
   
  -}
  +   }
  +   /**
  +    * Get the deploymentTypes.
  +    * 
  +    * @return the deploymentTypes.
  +    */
  +   public Vector getDeploymentTypes()
  +   {
  +      return deploymentTypes;
  +   }
  +   /**
  +    * Set the deploymentTypes.
  +    * 
  +    * @param deploymentTypes The deploymentTypes to set.
  +    */
  +   public void setDeploymentTypes(Vector deploymentTypes)
  +   {
  +      this.deploymentTypes = deploymentTypes;
  +   }
  +   /**
  +    * Get the outputPath.
  +    * 
  +    * @return the outputPath.
  +    */
  +   public String getOutputPath()
  +   {
  +      return outputPath;
  +   }
  +   /**
  +    * Set the outputPath.
  +    * 
  +    * @param outputPath The outputPath to set.
  +    */
  +   public void setOutputPath(String outputPath)
  +   {
  +      this.outputPath = outputPath;
  +   }
  + }
  
  
  


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic