@Deprecated public class ScriptWorkDescription extends WorkDescription
| Modifier and Type | Field and Description | 
|---|---|
static String | 
K_COMMAND
Deprecated.  
The key name of command line. 
 | 
static String | 
K_ENVIRONMENT_PREFIX
Deprecated.  
The key prefix of environment variables. 
 | 
static String | 
K_NAME
Deprecated.  
The key name of the command name. 
 | 
static String | 
K_PROFILE
Deprecated.  
The key name of profile name. 
 | 
| Constructor and Description | 
|---|
ScriptWorkDescription(String name,
                     String command,
                     String profileName,
                     Map<String,String> variables)
Deprecated.  
Creates a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)
Deprecated.  
  | 
String | 
getCommand()
Deprecated.  
Returns the command line. 
 | 
String | 
getName()
Deprecated.  
Returns the identifier of this work. 
 | 
String | 
getProfileName()
Deprecated.  
Returns the profile name. 
 | 
Map<String,String> | 
getVariables()
Deprecated.  
Returns the environment variables. 
 | 
int | 
hashCode()
Deprecated.  
  | 
String | 
toString()
Deprecated.  
  | 
isValidNamepublic static final String K_NAME
public static final String K_COMMAND
public static final String K_PROFILE
public static final String K_ENVIRONMENT_PREFIX
public ScriptWorkDescription(String name, String command, String profileName, Map<String,String> variables)
name - the identifier of this workcommand - the command lineprofileName - the profile namevariables - the environment variablesIllegalArgumentException - if some parameters are nullpublic String getName()
WorkDescriptionThe ID must be identical in the batch, and its name can be following format:
Name :
    NameStart NamePart*
NameStart: one of
    A-Z
    a-z
    _
NamePart: one of
    NameStart
    0-9
getName in class WorkDescriptionpublic String getCommand()
public String getProfileName()
public Map<String,String> getVariables()
Copyright © 2011–2019 Asakusa Framework Team. All rights reserved.