Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add setName in Task
[simgrid.git] / org / simgrid / msg / Task.java
index 5242090..e82d8dd 100644 (file)
@@ -123,6 +123,11 @@ public class Task {
        /** Gets the remaining computation of the task
      */
        public native double getRemainingDuration();
+       /**
+        * Sets the name of the task
+        * @param name the new task name.c
+        */
+       public native void setName(String name);
        /**
         * This method sets the priority of the computation of the task.
         * The priority doesn't affect the transfer rate. For example a