Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MethodRequiredDescription
Project.setProjectPath(String pProjectPath)Yes

Set Project path. For example. FlexDeploy/SOA/HR. In this example, SOA folder will be created if it does not exist and HR application will be created if it does not exist.

You must make sure that you are defining last element in Project Path consistently as Application. For example, along with above example FlexDeploy/SOA/HR, if you used path as FlexDeploy/SOA/HR/Application, you will have issues.

Project.setProjectName(String pProjectName)YesSet Project Name.
Project.setDeployPriority(Integer pDeployPriority)YesSet Project Priority. If not supplied 1 is used.
Project.setDeployPriorityScope(String pDeployPriorityScope)YesDefaults to Application. Possible values are Application, Folder, Global.
Project.setDescription(String pDescription)Yes
Project.setPartialDeploysetProjectClassification(booleanString pClassification)Notrue if partial deployment project is being createdClassification for this project.  Possible values are Standard, PartialDeployments, Container, Utility.  Default is Standard.
Project.setProjectType(String)NoRequired if partial deployment project. Examples are GENERAL, EBS, PARTIAL_FILE, PARTIAL_JDBC, OracleForms, ORACLE_DB, ORACLE_BI, ORACLE_APEX, MFT, SALESFORCE, UTILITY, MDS, SAP, OSB, GENERIC
Project.addProperty(String pPropertyName, Object pPropertyValue)No

This depends on type of Project being created. For example,

Code Block
languagegroovy
// using hard coded partition name as default.
Project.addProperty("FDSOA_PARTITION", "default");

// Using Input PartitionName. Each project can specify different partition
Project.addProperty("FDSOA_PARTITION", PartitionName);

Project.addProperty("FDSOA_OVERWRITE_REVISION", false);

Project.addProperty("FDSOA_MAKE_DEFAULT_REVISION", true);


Project.addProperty(String pPropertyName, Object pPropertyValue, boolean pExpression)NoSame as above method, except you can specify whether Property Value is expression or not by using boolean parameter.
Project.setActive(boolean pActive)NoDefault would be true.
Project.setWebhooksEnabled(boolean pWebhookEnabled)NoEnables or disables webhook enabled flag for project. This was added in 5.3.0.2
Project.setProjectBuildSequence(Long pSequenceNumber)No@since 5.4.0.2 Set the initial value for the ProjectBuildSequence variable which can be used in stream syntax scripts. Defaults to 1 if not set.
Change default stream name.No
This must be done prior to adding any Stream.
Project.getStreams().get(0).setStreamName("master");

...