DPML
DPML Station Set Command
HomeUtilitiesStationMetroDepotTransit
Set Command
Description

Update a feature of an application profile. The set command supports modification of the stored codebase uri, startup policy, assigned system properties, working directory, title, statup and shutdown timeout values, and application configuration.

Commandline
$ station set <key> 
  [-uri <artifact>] 
  [-policy <policy>] 
  [-D<name>=<value>] 
  [-dir <path>] 
  [-title <title>] 
  [-registry <artifact>] 
  [-startup <seconds>] 
  [-shutdown <seconds>] 
  [-config <uri>]
Parameters
<key>The application key.
Options
-uri Set the application codebase uri.
-policy Startup policy (AUTOMATIC, MANUAL or DISABLED).
-D A system property to assigned to the JVM on application process establishment.
-dir The application working directory.
-title The application title.
-registry Override the selection of the station registry store to use when updating the profile.
-startup Set the startup timeout (seconds).
-shutdown Set the shutdown timeout (seconds).
-config Set the configuration uri.
Example
$ station set demo -policy automatic
Updated profile [demo]

  Codebase: link:part:dpml/planet/http/dpml-http-demo
  Working Directory Path: ${dpml.data}/work/http
  Startup Timeout: 6
  Shutdown Timeout: 6
  Startup Policy: AUTOMATIC
  System Properties: 0