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)NoYesSet Project Priority. If not supplied 1 is used.
Project.setDeployPriorityScope(String pDeployPriorityScope)NoYesDefaults to Application. Possible values are Application,Folder,Global.
Project.setDescription(String pDescription)NoYes
Project.addProperty(String pPropertyName, Object pPropertyValue)NoYes

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.setActive(boolean pActive)NoDefault would be true.

...