本文整理汇总了Java中org.apache.cxf.jaxrs.model.wadl.Description类的典型用法代码示例。如果您正苦于以下问题:Java Description类的具体用法?Java Description怎么用?Java Description使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Description类属于org.apache.cxf.jaxrs.model.wadl包,在下文中一共展示了Description类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setGenerateProvenance
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* @param provenanceFlag
* Whether to create the run bundle for the workflow run. Only
* usefully set-able before the start of the run.
* @return What it was actually set to.
* @throws NoUpdateException
*/
@PUT
@Path(GENERATE_PROVENANCE)
@Description("Whether to create the run bundle for the workflow run.")
@Consumes(TEXT)
@Produces(TEXT)
@Nonnull
boolean setGenerateProvenance(boolean provenanceFlag) throws NoUpdateException;
示例2: getRegistryJar
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* Get the full pathname of the RMI registry's JAR.
*
* @return The current setting.
*/
@GET
@Path(REG_JAR)
@Produces(PLAIN)
@Description("What is the full pathname of the server's custom RMI registry executable JAR file?")
@Nonnull
String getRegistryJar();
示例3: getStdout
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* @return The stdout for the workflow run, or empty string if the run has
* not yet started.
* @throws NoListenerException
*/
@GET
@Path(STDOUT)
@Description("Return the stdout for the workflow run.")
@Produces(TEXT)
@Nonnull
String getStdout() throws NoListenerException;
示例4: getStderr
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* @return The stderr for the workflow run, or empty string if the run has
* not yet started.
* @throws NoListenerException
*/
@GET
@Path(STDERR)
@Description("Return the stderr for the workflow run.")
@Produces(TEXT)
@Nonnull
String getStderr() throws NoListenerException;
示例5: setJavaBinary
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* Set the Java binary to be used for execution of subprocesses.
*
* @param javaBinary
* What to set it to.
* @return The new setting.
*/
@PUT
@Path(JAVA)
@Consumes(PLAIN)
@Produces(PLAIN)
@Description("Which Java binary should be used for execution of subprocesses?")
@Nonnull
String setJavaBinary(@Nonnull String javaBinary);
示例6: getServerWorkerJar
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* Get the full pathname of the worker JAR file.
*
* @return The current setting.
*/
@GET
@Path(JAR_WORKER)
@Produces(PLAIN)
@Description("What is the full pathname of the server's per-user worker executable JAR file?")
@Nonnull
String getServerWorkerJar();
示例7: setExecuteWorkflowScript
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* Set the full pathname of the executeWorkflow.sh file.
*
* @param executeWorkflowScript
* What to set it to.
* @return The new setting.
*/
@PUT
@Path(EXEC_WF)
@Consumes(PLAIN)
@Produces(PLAIN)
@Description("What is the full pathname of the core Taverna executeWorkflow script?")
@Nonnull
String setExecuteWorkflowScript(@Nonnull String executeWorkflowScript);
示例8: getMaxOperatingRuns
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* Gets the maximum number of simultaneous
* {@linkplain org.apache.taverna.server.master.common.Status.Operating
* operating} runs that the user may create. The <i>actual</i> number
* they can start may be lower than this. If this number is lower than
* the number they currently have, they will be unable to start any runs
* at all.
*
* @return The maximum number of operating runs.
*/
@GET
@Path(POL_OP_LIMIT)
@Produces("text/plain")
@RolesAllowed(USER)
@Description("Gets the maximum number of simultaneously operating "
+ "runs that the user may have. Note that this is often a "
+ "global limit; it does not represent a promise that a "
+ "particular user may be able to have that many operating "
+ "runs at once.")
public int getMaxOperatingRuns();
示例9: getCapabilities
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
@GET
@Path(POL_CAPABILITIES)
@Produces({ XML, JSON })
@RolesAllowed(USER)
@Description("Gets a description of the capabilities supported by "
+ "this installation of Taverna Server.")
@Nonnull
public CapabilityList getCapabilities();
示例10: getFeed
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* @return the feed of events for the current user.
*/
@GET
@Path("/")
@Produces("application/atom+xml;type=feed")
@Description("Get an Atom feed for the user's events.")
@Nonnull
Feed getFeed(@Context UriInfo ui);
示例11: getServerForkerJar
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* Get the full pathname of the forker's JAR.
*
* @return The current setting.
*/
@GET
@Path(JAR_FORKER)
@Produces(PLAIN)
@Description("What is the full pathname of the server's special authorized \"forker\" executable JAR file?")
@Nonnull
String getServerForkerJar();
示例12: setServerForkerJar
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* Set the full pathname of the forker's JAR.
*
* @param serverForkerJar
* What to set it to.
* @return The new setting.
*/
@PUT
@Path(JAR_FORKER)
@Consumes(PLAIN)
@Produces(PLAIN)
@Description("What is the full pathname of the server's special authorized \"forker\" executable JAR file?")
@Nonnull
String setServerForkerJar(@Nonnull String serverForkerJar);
示例13: setName
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* Set the workflow name.
*
* @throws NoUpdateException
* If the user is not permitted to change the workflow.
*/
@PUT
@Path(NAME)
@Consumes(TEXT)
@Produces(TEXT)
@Description("Set the descriptive name of the workflow run. Note that "
+ "this value may be arbitrarily truncated by the implementation.")
@Nonnull
public String setName(String name) throws NoUpdateException;
示例14: getExpiryTime
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* Returns the time when the workflow run becomes eligible for automatic
* deletion.
*
* @return When the run expires.
*/
@GET
@Path(T_EXPIRE)
@Produces(TEXT)
@Description("Gives the time when the workflow run becomes eligible for "
+ "automatic deletion.")
@Nonnull
public String getExpiryTime();
示例15: getRunBundle
import org.apache.cxf.jaxrs.model.wadl.Description; //导入依赖的package包/类
/**
* @return The log for the workflow run, or empty string if the run has not
* yet started.
*/
@GET
@Path(RUNBUNDLE)
@Description("Return the run bundle for the workflow run.")
@Produces(ROBUNDLE)
@Nonnull
Response getRunBundle();