buildframework/helium/sf/java/signaling/src/com/nokia/helium/signal/ant/types/TargetCondition.java
changeset 628 7c4a911dc066
parent 587 85df38eb4012
child 645 b8d81fa19e7d
--- a/buildframework/helium/sf/java/signaling/src/com/nokia/helium/signal/ant/types/TargetCondition.java	Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/sf/java/signaling/src/com/nokia/helium/signal/ant/types/TargetCondition.java	Fri Aug 13 14:59:05 2010 +0300
@@ -1,67 +1,61 @@
 /*
-* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of the License "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  
-*
-*/
+ * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of the License "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description:  
+ *
+ */
 
- 
 package com.nokia.helium.signal.ant.types;
 
+import java.util.Vector;
+
+import org.apache.tools.ant.taskdefs.condition.Condition;
 import org.apache.tools.ant.types.DataType;
-import java.util.Vector;
-import org.apache.tools.ant.taskdefs.condition.Condition;
 
 /**
- * TargetCondition class which is a type to store the condition for generating
- * Signals..
- * <targetCondition>
- *    <hasSeverity severity="error" file="${build.cache.log.dir}/signals/prep_work_status.xml" />
- * </targetCondition>
+ * TargetCondition class which is a type to store the condition for generating Signals..
+ * <targetCondition> <hasSeverity severity="error"
+ * file="${build.cache.log.dir}/signals/prep_work_status.xml" /> </targetCondition>
  */
 public class TargetCondition extends DataType {
 
     private String name;
-    
+
     private String errMsg;
-    
+
     private Vector<Condition> conditionList = new Vector<Condition>();
-    
-    /**
-     * Constructor
-     */
-    public TargetCondition() {
-    }
 
     /**
-     * Helper function to store the Name of the target for which
-     * the signal to be processed. 
+     * Helper function to store the Name of the target for which the signal to be processed.
+     * 
      * @param targetName to be stored.
-     */    
+     */
     public void setName(String targetName) {
         name = targetName;
     }
 
     /**
      * Helper function to store the error message of
+     * 
      * @param errorMessage to be displayed after failure.
-     */        
+     */
     public void setMessage(String errorMessage) {
         errMsg = errorMessage;
     }
-    
+
     /**
-     * Add a given variable to the list 
+     * Add a given variable to the list
+     * 
      * @param condition variable to add
      */
     public void add(Condition condition) {
@@ -69,28 +63,31 @@
     }
 
     /**
-     * Gets the list of conditions to be checked for the signal config. 
+     * Gets the list of conditions to be checked for the signal config.
+     * 
      * @return conditions variable for this configuration.
      */
     public Vector<Condition> getConditions() {
         return conditionList;
-    }    
+    }
+
     /**
-     * Helper function to return the Name of the target for which
-     * the signal to be processed. 
+     * Helper function to return the Name of the target for which the signal to be processed.
+     * 
      * @return name of the target of this targetcondition.
      * @deprecated
-     */        
+     */
     public String getName() {
-        return name;
+        return name;        
     }
 
     /**
      * Helper function to return the error message of this target condition.
+     * 
      * @return error message of this target condition.
      * @deprecated
-     */        
+     */
     public String getMessage() {
         return errMsg;
     }
-}
\ No newline at end of file
+}