-
Framework.Task
This class provides some of the functionality of the Forte Task class
@author Peter & Tim
-
bg.smoc.model.Task
-
br.com.caelum.vraptor.tasks.Task
-
ch.bsgroup.scrumit.domain.Task
Class Task manages Tasks Every Task is defined by a unique Id It also has a Description, a xCoord/YCoord pair, Status, Duration, CreationDate
-
ch.idsia.ai.tasks.Task
Created by IntelliJ IDEA. User: Sergey Karakovskiy Date: Apr 8, 2009 Time: 11:20:41 AM Package: ch.idsia.ai.tasks
-
ch.njol.skript.util.Task
@author Peter Güttinger
-
cl.niclabs.skandium.system.Task
A Task is the internal representation of the execution of a skeleton program with a given parameter. A Task is never seen by a Skandium
library user. The Task keeps track, among other of the execution state, data state, exceptions, future updating, and children tasks. Children tasks are created when data parallelism is encountered.
@author mleyton
-
cn.com.manager.domains.Task
@author kete
-
com.acelet.s.task.Task
Task is an object contains a job and timing information. All names of variables are long. They are self-explanatory. Task is for SuperScheduler. For SuperWatchdog, "task" is the logical term for "chore". In user's manual, it is called "task", but in API and database, it is called "chore".
-
com.adito.tasks.Task
-
com.agiletec.plugins.jpcontentnotifier.aps.system.services.contentnotifier.scheduler.Task
Classe astratta base per l'implementazione del task da associare allo scheduler.
@author M.Casari
-
com.agiletec.plugins.jpcontentworkflow.aps.system.services.notifier.scheduler.Task
Classe astratta base per l'implementazione del task da associare allo scheduler.
@author M.Casari
-
com.alibaba.mtc.testmodel.Task
@author ding.lid
-
com.amazonaws.services.simpleworkflow.flow.core.Task
Asynchronous task that is executed when all {@link Promise}s passed to its constructor are ready (
null
parameter is considered ready).
Should be created in the context of {@link AsyncScope#doAsync()} method, from{@link Task#doExecute()} or from {@link TryCatchFinally} do... methods.Exceptions thrown from {@link #doExecute()} are delivered asynchronously tothe wrapping {@link TryCatchFinally#doCatch(Throwable)} method or rethrownfrom {@link AsyncScope#eventLoop()} if no wrapping {@link TryCatchFinally} isfound.
Example of using {@link Task} to implement asynchronous function that sumsparameters when both of them are ready:
public Promise<Integer> sum(Promise<Integer> a, Promise<Integer> b) { Settable<Integer> result = new Settable<Integer>(); new Task(a, b) { public void doExecute() { result.set(a.get() + b.get()); } }; return result; }
@see AsyncScope
@see TryCatchFinally
@see Promise
-
com.arjuna.services.framework.task.Task
The task interface for tasks scheduled by the task manager.
@author kevin
-
com.art.anette.datamodel.dataobjects.simple.Task
Repräsentiert eine Tätigkeit.
@author Markus Groß
-
com.badlogic.gdx.utils.Timer.Task
-
com.bergerkiller.bukkit.common.Task
-
com.changestuffs.scrum.shared.domain.Task
-
com.denimgroup.threadfix.data.entities.Task
-
com.dianping.cat.core.dal.Task
-
com.dyuproject.json.test.Task
@author David Yu
@created Feb 23, 2009
-
com.dyuproject.protostuff.runtime.CollectionTest.Task
-
com.exedosoft.plat.agent.Task
@author Administrator
-
com.extjs.gxt.samples.resources.client.model.Task
-
com.fiveht.tick.api.Task
This JavaBean class holds information about tasks within a project
@author Nathan Crause
-
com.gcrm.domain.Task
-
com.google.appengine.demos.taskengine.shared.Task
-
com.google.appengine.tools.pipeline.impl.tasks.Task
An App Engine Task Queue Task. This is the abstract base class for all Pipeline task types.
This class represents both a task to be enqueued and a task being handled.
When enqueueing a task, construct a concrete subclass with the appropriate data, and then add the task to an {@link com.google.appengine.tools.pipeline.impl.backend.UpdateSpec} and{@link com.google.appengine.tools.pipeline.impl.backend.PipelineBackEnd#save save}. Alternatively the task may be enqueued directly using {@link com.google.appengine.tools.pipeline.impl.backend.PipelineBackEnd#enqueue(Task)}.
When handling a task, construct a {@link Properties} object containing therelevant parameters from the request, its name and then invoke {@link #fromProperties(String,Properties)}.
@author rudominer@google.com (Mitch Rudominer)
-
com.google.devtools.moe.client.Ui.Task
-
com.google.devtools.moe.client.tasks.Task
A Task is a unit of MOE work. That is, a Task can be run directly by a user. This allows a user to get an error from a 4-hour run of MOE and run the 30 seconds that actually failed. For instance, say FooTask needs to call BarTask as part of Foo'ing. Then FooTask will have a constructor: FooTask(TaskExecutor executor, BarTaskCreator barCreator) Then FooTask.execute will: BarTask b = barCreator.create(Param p); ResultType result = b.execute(); The Task will describe to the user "now running Moe bar --flagname=flagvalue"
@author dbentley@google.com (Daniel Bentley)
-
com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.Task
-
com.gwtmobile.persistence.test.domain.Task
-
com.intalio.bpms.workflow.taskManagementServices20051109.Task
-
com.intellij.openapi.progress.Task
code indicator.setFraction(1.0); } }.setCancelText("Stop loading").queue();
-
com.jbidwatcher.util.Task
Created by IntelliJ IDEA. User: mrs Date: Apr 26, 2009 Time: 3:34:53 AM To change this template use File | Settings | File Templates.
-
com.linkedin.whiteelephant.parsing.Task
-
com.melitronic.domain.entity.Task
-
com.melitronic.rmapp.model.Task
-
com.mozilla.grouperfish.model.Task
Immutable task description.
-
com.packtpub.java7.concurrency.chapter1.recipe11.task.Task
Class that implements the concurrent task
-
com.packtpub.java7.concurrency.chapter1.recipe12.task.Task
-
com.packtpub.java7.concurrency.chapter1.recipe8.task.Task
Runnable class than throws and Exception
-
com.packtpub.java7.concurrency.chapter4.recipe1.task.Task
This class implements a concurrent task
-
com.packtpub.java7.concurrency.chapter4.recipe12.task.Task
This class implements a task executed in this example. It only waits a random perior of time
-
com.packtpub.java7.concurrency.chapter4.recipe4.task.Task
This class encapsulates a FileSearch object. The objective is execute that task and returns the result that it generates as it was a Callable object
-
com.packtpub.java7.concurrency.chapter4.recipe6.task.Task
This class implements the task of this example. It waits during a random period of time and then calculate the sum of five random numbers
-
com.packtpub.java7.concurrency.chapter4.recipe7.task.Task
This class implements the task of this example. Writes a message to the console with the actual date and returns the 'Hello, world' string
-
com.packtpub.java7.concurrency.chapter4.recipe8.task.Task
This class implements the task of the example. Writes a message to the console with the actual date. Is used to explain the utilization of an scheduled executor to execute tasks periodically
-
com.packtpub.java7.concurrency.chapter4.recipe9.task.Task
This class implements the task of the example. It simply writes a message to the console every 100 milliseconds
-
com.packtpub.java7.concurrency.chapter5.recipe01.task.Task
This class implements the tasks that are going to update the price information. If the assigned interval of values is less that 10, it increases the prices of the assigned products. In other case, it divides the assigned interval in two, creates two new tasks and execute them
-
com.packtpub.java7.concurrency.chapter5.recipe04.task.Task
This task throws and exception. It process an array of elements. If the block of elements it has to process has 10 or more elements, it divides the block in two and executes two subtasks to process those blocks. Else, sleeps the task one second. Additionally, If the block of elements it has to process has the third position, it throws an exception.
-
com.packtpub.java7.concurrency.chapter6.recipe04.task.Task
This class implements a generator of events. It generates 1000 events and stores them in a priory queue
-
com.packtpub.java7.concurrency.chapter6.recipe05.task.Task
This class implements a taks that store events in a delayed queue
-
com.packtpub.java7.concurrency.chapter6.recipe06.task.Task
This class implements a task that store contacts in a navigable map
-
com.packtpub.java7.concurrency.chapter7.recipe05.task.Task
Runnable object to check the MyScheduledTask and MyScheduledThreadPoolExecutor classes.
-
com.packtpub.java7.concurrency.chapter7.recipe08.task.Task
This class implements a Task that uses the Lock
-
com.packtpub.java7.concurrency.chapter7.reciper07.task.Task
Task that extends the MyWorkerTask class to be executed in a Fork/Join framework
-
com.packtpub.java7.concurrency.chapter8.recipe01.task.Task
Task used to get information about a Thread. Makes a for loop with 100 steps. In each step, sleeps for 100 milliseconds. Total execution time: 10 seconds
-
com.packtpub.java7.concurrency.chapter8.recipe02.task.Task
This task used to write information about a Lock. It takes the control of the Lock, sleeps for 500 milliseconds and free the Lock. Repeat this behavior five times
-
com.packtpub.java7.concurrency.chapter8.recipe03.task.Task
Task used to write information about a Semaphore
-
com.packtpub.java7.concurrency.chapter8.recipe04.task.Task
Task to write information about a Phaser. It executes three phases. In each phase, it sleeps the thread the number of seconds specified by the time attribute
-
com.packtpub.java7.concurrency.chapter8.recipe05.task.Task
Task implemented to log data about an Executor
-
com.packtpub.java7.concurrency.chapter8.recipe06.task.Task
This class implements a task used to show how to monitor the behavior of a Fork/Join pool. The main objective of the task is increment all the elements of an array. Every task has to process a set of elements of this array. If the task has to process more than 100 elements, it divides the set it has two process in two subsets and create two tasks to execute them. Otherwise, it process the elements of the subset it has to process
-
com.packtpub.java7.concurrency.chapter8.recipe07.task.Task
This class is the Task you're going to use to test the Logger system you have implemented. It simply write a log message indicating the start of the task, sleeps the thread for two seconds and write another log message indicating the end of the task.
-
com.packtpub.java7.concurrency.chapter8.recipe08.task.Task
Task implemented to test the FindBugs utility
-
com.packtpub.java7.concurrency.chapter9.recipe06.task.Task
-
com.packtpub.java7.concurrency.chapter9.recipe09.task.Task
-
com.packtpub.java7.concurrency.chapter9.recipe10.task.Task
-
com.packtpub.java7.concurrncy.chapter9.recipe10.task.Task
-
com.pointcliki.dizgruntled.grunt.Task
-
com.projectlibre.pm.tasks.Task
@author Laurent Chretienneau
-
com.projity.pm.task.Task
@stereotype thing
-
com.sample.entity.Task
-
com.skymobi.monitor.model.Task
@author hill.humongodb的脚本任务执行器
-
com.sos.scheduler.model.answers.Task
3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{}log"/> </sequence> <attribute name="enqueued" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="force_start" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" /> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="job" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="log_file" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" /> <attribute name="start_at" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="state" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" /> <attribute name="steps" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> <attribute name="task_id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" /> </restriction> </complexContent> </complexType>
-
com.spotify.helios.common.descriptors.Task
Basically, a pair of {@link Job} and {@link Goal}. This is different than {@link Deployment}which has a {@link JobId} and not a {@link Job}
-
com.sun.enterprise.web.connector.grizzly.Task
Wrapper object used by the WorkerThread
@author Jean-Francois Arcand
-
com.sun.jini.thread.TaskManager.Task
-
com.sun.jsft.tasks.Task
This class holds the representation of a single task.
-
com.sun.sgs.app.Task
Defines an application operation that will be run by the {@link TaskManager}. Classes that implement Task
must also implement {@link Serializable}.
@see TaskManager
-
com.sun.star.wizards.ui.event.Task
@author rpitermanTo change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
-
com.tapsterrock.mpx.Task
-
com.totsp.gwittir.client.keyboard.Task
@author cooper
-
com.tulskiy.musique.gui.dialogs.Task
Author: Denis Tulskiy Date: Jul 9, 2010
-
com.vmware.vim.binding.vim.Task
-
com.vmware.vim25.mo.Task
blecloud.org)
-
com.xensource.xenapi.Task
A long-running asynchronous task
@author Citrix Systems, Inc.
-
com.zhangwoo.spider.po.Task
-
de.arago.rike.commons.data.Task
-
de.innovationgate.wgpublisher.scheduler.Task
-
de.matrixweb.smaller.common.Task
@deprecated Replaced by {@link ProcessDescription}
-
de.sebastianbenz.task.Task
A representation of the model object 'Task'.
@see de.sebastianbenz.task.TaskPackage#getTask()
@model
@generated
-
de.timefinder.data.Task
@author Peter Karich, peat_hal ‘at’ users ‘dot’ sourceforge ‘dot’ net
-
edu.neu.ccs.task.Task
Represents a particular task instance (distinguished from a task type). This may be a task that has actually been done (called an occurrence) or it may be a hypothetical task that may or may not be done in the future.
@author Dan Schulman
@version $Id: Task.java 1006 2011-01-20 21:01:46Z schulman $
@see TaskEngine#newTask(javax.xml.namespace.QName)
-
fm.last.citrine.model.Task
Class that represents a Task. It contains values that are used to trigger Quartz Jobs at a certain time as well as values that are needed by Tasks to run.
-
foxtrot.Task
-
gettasky.domain.Task
A task - something that someone wants to do.
-
gri.tasks.Task
Basic interface for a Task. A Task is a generic process that can be executed with a set of inputs and returns a set of outputs. The execute() method encapsulates this functionality.
@author dan.rogers
-
hermes.browser.tasks.Task
@author colincrist@hermesjms.com
@version $Id: Task.java,v 1.1 2004/11/17 17:24:06 colincrist Exp $
-
hu.u_szeged.nbo.res_alloc.model.type.Task
-
hudson.model.Queue.Task
-
info.unipax.bina.platform.tasks.Task
-
io.crate.executor.Task
-
io.dropwizard.servlets.tasks.Task
An arbitrary administrative task which can be performed via the admin interface.
@see TaskServlet
-
io.druid.indexing.common.task.Task
Represents a task that can run on a worker. The general contracts surrounding Tasks are:
- Tasks must operate on a single datasource.
- Tasks should be immutable, since the task ID is used as a proxy for the task in many locations.
- Task IDs must be unique. This can be done by naming them using UUIDs or the current timestamp.
- Tasks are each part of a "task group", which is a set of tasks that can share interval locks. These are useful for producing sharded segments.
- Tasks do not need to explicitly release locks; they are released upon task completion. Tasks may choose to release locks early if they desire.
-
it.sauronsoftware.cron4j.Task
Abstract base representation of a cron4j task.
Developers can extends this abstract class to build their own tasks.
Extending Task means, above all, implementing the {@link Task#execute(TaskExecutionContext)} method. Within this method thetask must perform its operation. If the execute() method returns regularly then the execution is considered to be successfully completed. If execute() dies throwing a {@link RuntimeException} then the taskexecution is considered to be failed. The supplied parameter, which is a {@link TaskExecutionContext} instance, helps the developer in integrating histask with the scheduler executor. Through the context the developer can check if the execution has been paused or stopped, and he can also push back some status informations by calling {@link TaskExecutionContext#setCompleteness(double)} and{@link TaskExecutionContext#setStatusMessage(String)}.
If the custom task supports pausing, stopping and/or tracking, that should be notified by overriding {@link Task#canBePaused()}, {@link Task#canBeStopped()}, {@link Task#supportsCompletenessTracking()}and/or {@link Task#supportsStatusTracking()}.
@author Carlo Pelliccia
@since 2.0
-
javafx.concurrent.Task
-
jline.internal.ShutdownHooks.Task
-
jsx.ui.samaple.todo.TodoTasks.Task
-
kilim.Task
A base class for tasks. A task is a lightweight thread (it contains its own stack in the form of a fiber). A concrete subclass of Task must provide a pausable execute method.
-
mapwriter.tasks.Task
-
me.victorhernandez.hellospring.domain.Task
-
models.Task
-
net.bnubot.util.task.Task
@author scotta
-
net.lr.tasklist.model.Task
-
net.myexperiments.gos.schedule.Task
-
net.sf.apptools.task.Task
-
net.sf.mpxj.Task
This class represents a task record from an project file.
-
net.sf.mzmine.taskcontrol.Task
-
net.sf.pmr.agilePlanning.domain.story.task.Task
@author Arnaud Prost (arnaud.prost@gmail.com)
-
net.sourceforge.fullsync.Task
-
net.sourceforge.ganttproject.task.Task
Created by IntelliJ IDEA.
@author bard Date: 27.01.2004
-
net.sphene.goim.rcp.xmpp.Task
-
open.dolphin.helper.Task
Progress 表示付き Task
@author pns
-
oracle.bpel.services.workflow.task.model.Task
-
org.activiti.bpmn.model.Task
@author Tijs Rademakers
-
org.activiti.engine.task.Task
Represents one task for a human user.
@author Joram Barrez
-
org.adoptopenjdk.jitwatch.model.Task
-
org.akka.essentials.grid.Task
-
org.andromda.timetracker.domain.Task
-
org.apache.activemq.thread.Task
Represents a task that may take a few iterations to complete.
@version $Revision: 1.3 $
-
org.apache.agila.services.task.Task
Represents a task for a user to do
@author
Geir Magnusson Jr.
@version $Id: Task.java 38 2005-06-01 19:39:54Z chirino $
-
org.apache.archiva.redback.components.taskqueue.Task
-
org.apache.droids.api.Task
A task is a working instruction for a droid. One can limit the depth of the task. That is based on the fact that a droid can extract more tasks from the one that it is currently working on. However sometimes one want to limit the number of nested task, this is what is determined by the depth.
@version 1.0
-
org.apache.examples.panorama.startup.impl.Task
An operation that may be executed. A Task exists to wrap an {@link org.apache.examples.panorama.startup.Executable} object with a title and ordering information (id, after,before).
@author Howard Lewis Ship
-
org.apache.hadoop.hbase.master.SplitLogManager.Task
-
org.apache.hadoop.hive.ql.exec.Task
Task implementation
-
org.apache.hadoop.mapred.Task
Base class for tasks.
-
org.apache.hadoop.mapreduce.v2.app.job.Task
Read only view of Task.
-
org.apache.hadoop.yarn.server.resourcemanager.Task
-
org.apache.hama.bsp.Task
Base class for tasks.
-
org.apache.hama.monitor.Monitor.Task
-
org.apache.harmony.awt.wtk.NativeEventQueue.Task
-
org.apache.isis.viewer.html.task.Task
Represents a task that the user is working through. Is used for both editing objects and setting up parameters for an action method.
-
org.apache.lenya.cms.task.Task
A Task is a command that can be executed.
When a Task is executed from a TaskAction or initialized from a TaskJob, the default parameters are provided. This is not a contract!
-
org.apache.marmotta.platform.core.api.task.Task
-
org.apache.ode.scheduler.simple.Task
The thing that we schedule.
@author Maciej Szefler ( m s z e f l e r @ g m a i l . c o m )
-
org.apache.pivot.util.concurrent.Task
Abstract base class for "tasks". A task is an asynchronous operation that may optionally return a value.
@param V The type of the value returned by the operation. May be {@link Void} toindicate that the task does not return a value.
-
org.apache.stratos.throttling.manager.tasks.Task
-
org.apache.synapse.startup.Task
Defines the Task for a SimpleQuartzStartup.
@deprecated use the interface {@link org.apache.synapse.task.Task} instead
-
org.apache.synapse.task.Task
Represents an executable Task
-
org.apache.syncope.core.persistence.beans.Task
-
org.apache.tapestry.timetracker.model.Task
A time entry task for a {@link Project}.
@author jkuhnert
-
org.apache.tez.dag.app.dag.Task
Read only view of Task.
-
org.apache.tools.ant.Task
Base class for all tasks.
-
org.apache.wicket.util.thread.Task
Runs a block of code periodically. A
Task
can be started at a given time in the future and can be a daemon. The block of code will be passed a
Log
object each time it is run through its
ICode
interface.
If the code block takes longer than the period to run, the next task invocation will occur immediately. In this case, tasks will not occur at precise multiples of the period. For example, if you run a task every 30 seconds, and the first run takes 40 seconds but the second takes 20 seconds, your task will be invoked at 0 seconds, 40 seconds and 70 seconds (40 seconds + 30 seconds), which is not an even multiple of 30 seconds.
In general, this is a simple task class designed for polling activities. If you need precise guarantees, you probably should be using a different task class.
@author Jonathan Locke
@since 1.2.6
-
org.apache.wiki.workflow.Task
AbstractStep subclass that executes instructions, uninterrupted, and results in an Outcome. Concrete classes only need to implement {@link Task#execute()}. When the execution step completes,
execute
must return {@link Outcome#STEP_COMPLETE}, {@link Outcome#STEP_CONTINUE} or{@link Outcome#STEP_ABORT}. Subclasses can add any errors by calling the helper method {@link AbstractStep#addError(String)}. The execute method should
generally capture and add errors to the error list instead of throwing a WikiException.
@since 2.5
-
org.blueoxygen.ramen.task.entity.Task
@author j3ndr4l (Bagus Suwandi)
-
org.blync.client.calendar.tasks.Task
@author Marcel
-
org.camunda.bpm.engine.task.Task
Represents one task for a human user.
@author Joram Barrez
-
org.camunda.bpm.model.cmmn.instance.Task
@author Roman Smirnov
-
org.codehaus.plexus.taskqueue.Task
-
org.danann.cernunnos.Task
-
org.eclipse.bpmn2.Task
A representation of the model object 'Task'.
@see org.eclipse.bpmn2.Bpmn2Package#getTask()
@model extendedMetaData="name='tTask' kind='elementOnly'"
@generated
-
org.eclipse.sapphire.ui.DelayedTasksExecutor.Task
-
org.eobjects.analyzer.job.tasks.Task
-
org.eweb4j.spiderman.task.Task
-
org.exoplatform.services.scheduler.Task
Created by The eXo Platform SAS Author : Tuan Nguyen tuan08@users.sourceforge.net Dec 29, 2005
-
org.fireflow.model.Task
工作流任务
@author 非也,nychen2000@163.com
-
org.fusesource.hawtdispatch.Task
-
org.glassfish.api.logging.Task
Created by IntelliJ IDEA. User: dochez Date: May 24, 2007 Time: 1:10:38 PM To change this template use File | Settings | File Templates.
-
org.gradle.api.Task
A Task
represents a single atomic piece of work for a build, such as compiling classes or generating javadoc.
Each task belongs to a {@link Project}. You can use the various methods on {@link org.gradle.api.tasks.TaskContainer} to create and lookup task instances. For example, {@link org.gradle.api.tasks.TaskContainer#add(String)} creates an empty task with the given name. You can also use the{@code task} keyword in your build file:
task myTask task myTask { configure closure } task myType << { task action } task myTask(type: SomeType) task myTask(type: SomeType) { configure closure }
Each task has a name, which can be used to refer to the task within its owning project, and a fully qualified path, which is unique across all tasks in all projects. The path is the concatenation of the owning project's path and the task's name. Path elements are separated using the {@value org.gradle.api.Project#PATH_SEPARATOR}character.
Task Actions
A Task
is made up of a sequence of {@link Action} objects. When the task is executed, each of theactions is executed in turn, by calling {@link Action#execute}. You can add actions to a task by calling {@link #doFirst(Action)} or {@link #doLast(Action)}.
Groovy closures can also be used to provide a task action. When the action is executed, the closure is called with the task as parameter. You can add action closures to a task by calling {@link #doFirst(groovy.lang.Closure)} or{@link #doLast(groovy.lang.Closure)} or using the left-shift << operator.
There are 2 special exceptions which a task action can throw to abort execution and continue without failing the build. A task action can abort execution of the action and continue to the next action of the task by throwing a {@link org.gradle.api.tasks.StopActionException}. A task action can abort execution of the task and continue to the next task by throwing a {@link org.gradle.api.tasks.StopExecutionException}. Using these exceptions allows you to have precondition actions which skip execution of the task, or part of the task, if not true.
Dependencies
A task may have dependencies on other tasks. Gradle ensures that tasks are executed in dependency order, so that the dependencies of a task are executed before the task is executed. You can add dependencies to a task using {@link #dependsOn(Object)} or {@link #setDependsOn(Iterable)}. You can add objects of any of the following types as a dependency:
- A {@code String} task path or name. A relative path is interpreted relative to the task's {@link Project}. This allows you to refer to tasks in other projects.
- A {@link Task}.
- A closure. The closure may take a {@code Task} as parameter. It may return any of the types listed here. Itsreturn value is recursively converted to tasks. A {@code null} return value is treated as an empty collection.
- A {@link TaskDependency} object.
- A {@link Buildable} object.
- A {@code Collection}, {@code Map} or an array. May contain any of the types listed here. The elements of thecollection/map/array are recursively converted to tasks.
- A {@code Callable}. The {@code call()} method may return any of the types listed here. Its return value isrecursively converted to tasks. A {@code null} return value is treated as an empty collection.
- An {@code Object}. The object's {@code toString()} method is interpreted as a task path or name.
Using a Task in a Build File
Dynamic Properties
A {@code Task} has 3 'scopes' for properties. You can access these properties by name from the build file or bycalling the {@link #property(String)} method.
- The {@code Task} object itself. This includes any property getters and setters declared by the {@code Task}implementation class. The properties of this scope are readable or writable based on the presence of the corresponding getter and setter methods.
- The additional properties of the task. Each task object maintains a map of additional properties. These are arbitrary name -> value pairs which you can use to dynamically add properties to a task object. The properties of this scope are readable and writable.
- The convention properties added to the task by each {@link Plugin} applied to the project. A {@link Plugin} can add properties and methods to a task through the task's {@link Convention} object. The properties ofthis scope may be readable or writable, depending on the convention objects.
Dynamic Methods
A {@link Plugin} may add methods to a {@code Task} using its {@link Convention} object.
@author Hans Dockter
-
org.h2.util.Task
A method call that is executed in a separate thread. If the method throws an exception, it is wrapped in a RuntimeException.
-
org.intalio.tempo.workflow.task.Task
-
org.japura.task.Task
Copyright (C) 2011-2013 Carlos Eduardo Leite de Andrade
This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/
For more information, contact: www.japura.org
@author Carlos Eduardo Leite de Andrade
-
org.jboss.as.quickstarts.tasksJsf.Task
User's task entity
@author Oliver Kiss
-
org.jboss.as.quickstarts.tasksrs.model.Task
User's task entity which is marked up with JPA annotations and JAXB for serializing XML (and JSON if required)
@author Oliver Kiss and others
-
org.jboss.cache.eviction.EvictionTimerTask.Task
-
org.jboss.seam.example.tasks.entity.Task
@author Jozef Hartinger
-
org.jboss.seam.rest.example.client.tasks.Task
ty.jboss.org/people/jharting">Jozef Hartinger
-
org.jboss.seam.rest.example.tasks.entity.Task
nity.jboss.org/people/jharting">Jozef Hartinger
-
org.jbpm.api.task.Task
a runtime task. In contrast to {@link HistoryTask}, a Task only represents the runtime state of a task and hence it will be deleted after it is completed.
@author Tom Baeyens
-
org.jbpm.task.Task
-
org.jbpm.taskmgmt.def.Task
defines a task and how the actor must be calculated at runtime.
-
org.jclouds.savvis.vpdc.domain.Task
dbox.savvis.net/doc/spec/api/getTask.html" />
-
org.jclouds.trmk.vcloud_0_8.domain.Task
Whenever the result of a request cannot be returned immediately, the server creates a Task object. Tasks owned by an object such as a vApp or vDC are contained in the Tasks element of the object's XML representation. This element is read-only.
-
org.jclouds.ultradns.ws.domain.Task
@author Adrian Cole
-
org.jclouds.vcloud.director.v1_5.domain.Task
Represents an asynchronous or long-running task in the vCloud environment.
<xs:complexType name="TaskType">
TODO: this object and the hierarchy is wrong. it is literally a Task with a Task container. please review class diagram
@author grkvlt@apache.org
-
org.jclouds.vcloud.domain.Task
Whenever the result of a request cannot be returned immediately, the server creates a Task object. Tasks owned by an object such as a vApp or vDC are contained in the Tasks element of the object’s XML representation. This element is read‐only.
-
org.jdesktop.application.Task
-
org.jfree.data.gantt.Task
A simple representation of a task. The task has a description and a duration. You can add sub-tasks to the task.
-
org.jmule.core.jkad.utils.timer.Task
Created on Jan 8, 2009
@author binary256
@version $Revision: 1.1 $Last changed by $Author: binary255 $ on $Date: 2009/07/06 14:13:25 $
-
org.jscsi.scsi.tasks.Task
-
org.kie.api.task.model.Task
-
org.kie.remote.jaxb.gen.Task
-
org.lealone.util.Task
A method call that is executed in a separate thread. If the method throws an exception, it is wrapped in a RuntimeException.
-
org.libreplan.business.planner.entities.Task
@author Óscar González Fernández
@author Manuel Rego Casasnovas
-
org.menacheri.jetserver.app.Task
Represents a task that can be executed in the game system. Any class that implements this interface and submits instances to the {@link TaskManagerService} instance will be managed by the container. Itwill automatically store the task such that restarts of the server do not stop recurring tasks from stopping. In future, this may also be used for sending tasks from one server node to another during node shutdown etc.
@author Abraham Menacherry
-
org.nasutekds.guitools.controlpanel.task.Task
The class used to define a number of common methods and mechanisms for the tasks that are run in the Control Panel.
-
org.nasutekds.server.backends.task.Task
This class defines a task that may be executed by the task backend within the Directory Server.
-
org.netbeans.spi.tasklist.Task
-
org.nightlabs.jfire.timer.Task
-
org.nxplanner.domain.Task
-
org.openengsb.core.workflow.api.model.Task
A Task is based on a {@link ProcessBag} and used for human interaction. Itcontains all data needed for human interaction i.e. the properties relevant to the user, a unique identifier and the tasks type used to categorize all tasks of a certain kind. Each time a workflow needs user interaction, such task is created from the workflows ProcessBag. It is also used to pass data back to the workflow after user interaction. The old ProcessBag is then replaced with this new one.
-
org.openide.util.RequestProcessor.Task
-
org.openstreetmap.osmosis.core.task.common.Task
Defines the root of the interface inheritance hierarchy for all task types.
@author Brett Henderson
-
org.optaplanner.examples.cheaptime.domain.Task
-
org.prevayler.demos.jxpath.model.Task
Represents a project's task to be completed
@author Carlos Villela
-
org.sonar.api.task.Task
Implement this interface to provide the behavior of a task.
@since 3.6
-
org.springframework.social.google.api.tasks.Task
Model class representing a task
@author Gabriel Axel
-
org.springside.examples.bootservice.domain.Task
-
org.springside.examples.quickstart.entity.Task
-
org.structr.agent.Task
A task that an {@link Agent} can operate on.
@author Christian Morgner
-
org.syrup.Task
Specifies a task with a name, description, function, environment, type and parameter.
@author Robbert van Dalen
-
org.terasology.logic.behavior.tree.Task
A task run by an interpreter for an actor.
@author synopia
-
org.terasology.utilities.concurrency.Task
@author Immortius
-
org.waveprotocol.wave.client.scheduler.Scheduler.Task
-
org.wicketstuff.progressbar.spring.Task
A Task is some kind of long running action that should be done in the background. The task can update the progress based on the current position in the workload.
Basically what you have to do for your own Task is to override the run() method and frequently call one of the updateProgress methods.
@author Christopher Hlubek (hlubek)
-
org.wso2.carbon.humantask.dao.jpa.openjpa.model.Task
Things we don't support at this stage: - TODO Delegations - TODO Outcome - TODO Presentation elements - TODO searchBy
-
org.wso2.carbon.throttling.manager.tasks.Task
-
org.xmatthew.spy2servers.thread.Task
emq.apache.org
@author Matthew Xie
-
org.xtext.builddsl.build.Task
A representation of the model object '
Task'.
The following features are supported:
- {@link org.xtext.builddsl.build.Task#getDepends Depends}
- {@link org.xtext.builddsl.build.Task#getAction Action}
@see org.xtext.builddsl.build.BuildPackage#getTask()
@model
@generated
-
org.zkoss.ganttz.data.Task
This class contains the information of a task. It can be modified and notifies of the changes to the interested parties.
@author Óscar González Fernández
@author Manuel Rego Casasnovas
-
pku.cbi.abcgrid.master.Task
Task was serialized and transfered between ABCWorker and ABCMaster. It is the subunit a Job. A job is fragmentated to one or more tasks, each task hold a piece of input data of parental job's input data.
-
pl.edu.pb.entities.Task
@author Dawid
-
psconsole.TaskManager.Task
-
pt.treps.parser.Task
-
sample.domain.Task
-
sbt.testing.Task
-
solver.variables.Task
Container representing a task: It ensures that: start + duration = end
@author Jean-Guillaume Fages
@since 04/02/2013
-
tasks.Task
@author David
-
threads.Task
@author true
-
us.codecraft.webmagic.Task
Interface for identifying different tasks.
@author code4crafter@gmail.com
@since 0.1.0
@see us.codecraft.webmagic.scheduler.Scheduler
@see us.codecraft.webmagic.pipeline.Pipeline