|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.informatica.powercenter.sdk.mapfwk.core.Task
public abstract class Task
Class to represent a Task.
Field Summary | |
---|---|
static java.lang.String |
FAIL_PARENT_IF_INSTANCE_DIDNOT_RUN
|
static java.lang.String |
FAIL_PARENT_IF_INSTANCE_FAILS
|
static java.lang.String |
NO_OPTION
|
static java.lang.String |
REUSABLE
|
static java.lang.String |
TREAT_INPUT_LINK_AS_AND
|
static java.lang.String |
YES_OPTION
|
Constructor Summary | |
---|---|
Task()
Default constructor |
|
Task(int type,
java.lang.String name,
java.lang.String busName,
java.lang.String desc)
Initialize the object with type, name, business name and description |
Method Summary | |
---|---|
void |
connectToTask(Task task)
Connect to the task that is passed to it as argument. |
void |
connectToTask(Task task,
java.lang.String expression)
Connect to the task that is passed to it as argument. |
void |
deleteNameValuePair(java.lang.String propertyName)
Delete a name value pair |
java.util.Vector |
getAllConnectedTasks()
Returns all the tasks that this task has outgoing link to. |
java.util.HashMap |
getAllConnectedTasksAndExpressions()
Returns all the tasks along with the expression that this task has outgoing link to. |
java.util.Vector |
getAttributes()
Get the collection of attributes |
java.lang.String |
getBusinessName()
Get the business name |
java.lang.String |
getConflictResolution()
|
java.lang.String |
getDescription()
Get the description |
java.util.Vector |
getMetaExtensions()
Get the collection of meta extensions |
java.lang.String |
getName()
Get the name |
java.lang.String[] |
getNamesOfValuePairs()
Get the names of the name-value pairs |
java.util.Properties |
getNameValuePairs()
Get the name-values pairs of the task |
TaskProperties |
getProperties()
Get the collection of properties |
java.lang.String |
getTaskInstanceProperty(java.lang.String propertyName)
Get the Task instance property.Use Task.FAIL_PARENT_IF_INSTANCE_FAILS,Task.REUSABLE, Task.TREAT_INPUT_LINK_AS_AND, Task.FAIL_PARENT_IF_INSTANCE_DIDNOT_RUN as property names |
int |
getType()
Get the type of task |
java.lang.String |
getValueOfNameValuePair(java.lang.String propertyName)
Get value of a name value pair |
boolean |
isModified()
Test if the task has been set as modified |
void |
setAttributes(java.util.Vector attributes)
Set the collection of attributes |
void |
setBusinessName(java.lang.String businessName)
Set the business name |
void |
setConflictResolution(java.lang.String conflictResolution)
|
void |
setDescription(java.lang.String description)
Set the description |
void |
setMetaExtensions(java.util.Vector metaExtensions)
Set the collection of meta extensions |
void |
setModified(boolean isModified)
Set the task as modified |
void |
setName(java.lang.String name)
Set the name |
void |
setNameValuePair(java.lang.String propertyName,
java.lang.String value)
Set nam-value pair. |
void |
setTaskInstanceProperty(java.lang.String propertyName,
java.lang.String propertyValue)
Set Task instance property. |
void |
setType(int type)
Set the task type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FAIL_PARENT_IF_INSTANCE_FAILS
public static final java.lang.String REUSABLE
public static final java.lang.String TREAT_INPUT_LINK_AS_AND
public static final java.lang.String FAIL_PARENT_IF_INSTANCE_DIDNOT_RUN
public static final java.lang.String YES_OPTION
public static final java.lang.String NO_OPTION
Constructor Detail |
---|
public Task()
public Task(int type, java.lang.String name, java.lang.String busName, java.lang.String desc)
type
- task typename
- namebusName
- business namedesc
- descriptionMethod Detail |
---|
public void connectToTask(Task task)
task
- Task to connect to.public void connectToTask(Task task, java.lang.String expression)
task
- Task to connect to.expression
- The expression to be assigned to the linkpublic java.util.Vector getAllConnectedTasks()
public java.util.HashMap getAllConnectedTasksAndExpressions()
public void setTaskInstanceProperty(java.lang.String propertyName, java.lang.String propertyValue)
propertyName
- name of the propertypropertyValue
- value of the propertypublic java.lang.String getTaskInstanceProperty(java.lang.String propertyName)
propertyName
- name of the property
public java.util.Properties getNameValuePairs()
public java.lang.String[] getNamesOfValuePairs()
public java.lang.String getValueOfNameValuePair(java.lang.String propertyName)
propertyName
- propertyName
public void deleteNameValuePair(java.lang.String propertyName)
propertyName
- propertyName to be deletedpublic void setNameValuePair(java.lang.String propertyName, java.lang.String value)
propertyName
- name to be setvalue
- Value to be given to the propertypublic int getType()
public void setType(int type)
type
- The type to set.public java.lang.String getBusinessName()
public void setBusinessName(java.lang.String businessName)
businessName
- The business Name to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to set.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to set.public java.util.Vector getAttributes()
public void setAttributes(java.util.Vector attributes)
attributes
- The attributes to set.public java.util.Vector getMetaExtensions()
public void setMetaExtensions(java.util.Vector metaExtensions)
metaExtensions
- The m_objMetaExtensions to set.public TaskProperties getProperties()
public java.lang.String getConflictResolution()
public void setConflictResolution(java.lang.String conflictResolution)
conflictResolution
- The conflictResolution to set.public boolean isModified()
public void setModified(boolean isModified)
isModified
- isModified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |