...
Method | Required | Description | |||||
---|---|---|---|---|---|---|---|
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) | Yes | Set Project Name. | |||||
Project.setDeployPriority(Integer pDeployPriority) | Yes | Set Project Priority. If not supplied 1 is used. | |||||
Project.setDeployPriorityScope(String pDeployPriorityScope) | Yes | Defaults to Application. Possible values are Application, Folder, Global. | |||||
Project.setDescription(String pDescription) | Yes | ||||||
Project. | addPropertysetProjectClassification(String | pPropertyName, Object pPropertyValuepClassification) | No | ||||
Code Block | |||||||
| Classification for this project. Possible values are Standard, PartialDeployments, Container, Utility. Default is Standard. | ||||||
Project.setProjectType(String) | No | Required 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,
| |||||
Project.addProperty(String pPropertyName, Object pPropertyValue, boolean pExpression) | No | Same as above method, except you can specify whether Property Value is expression or not by using boolean parameter. | Project.setActive(boolean pActive) | No | Default would be trueProperty Value is expression or not by using boolean parameter. | ||
Project.setActive(boolean pActive) | No | Default would be true. | |||||
Project.setWebhooksEnabled(boolean pWebhookEnabled) | No | Enables 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" ); |
...
Method | Required | Description |
---|---|---|
Project.setSCMType(pSCMType) | No | Set SCM Type or use Project Defaults. Possible values are SVNCVS, FILE, GIT, TFVC, CVSNONE, PERF, PVCS, SVN, TFVC, OIC. |
Method | Required | Description |
---|---|---|
Project.setSVNForSCM() | No | Call to use Subversion for Project. |
Project.setGITForSCM() | No | Call to use Git for Project. |
Project.setTFVCForSCM() | No | Call to use Microsoft TFVC for Project. |
Project.setCVSForSCM() | No | Call to use CVS for Project. |
Project.setPERFForSCM() | No | Call to use Perforce for Project. |
Project.setPVCSForSCM() | No | Call to use PVCS for Project. |
Project.setFILEForSCM() | No | Call to use File System SCM type for project. |
...
Code Block | ||
---|---|---|
| ||
Project.createStreamFromMainStream(String pStreamName) Project.createStream(String pStreamName, String pVersionSyntaxScript) Project.createStream(String pStreamNameString pStreamName, String pVersionSyntaxScript, String pDescription) Project.createStream(String pStreamName, String pVersionSyntaxScript, String pDescription, String pAttribute1, String pVersionSyntaxScriptpAttribute2, String pDescriptionpAttribute3) Project.createStream(String pStreamName, String pVersionSyntaxScript, String pDescription, String pAttribute1, String pAttribute2, String pAttribute3, Long pSequenceNumber) |
Method | Required | Description |
---|---|---|
Project.createStreamFromMainStream(String pStreamNameString pStreamName) | No | Create a copy of the main stream with a new name. The main stream is generated from default configurations. For example, Project.createStreamFromMainStream("branch1") |
Project.createStream(String pStreamName, String pVersionSyntaxScript) | No | Create a copy of the main stream with a new name. The main stream is generated from default configurationsan additional stream based on the inputs. Description, Attribute1, Attribute2 and Attribute3 will be defaulted to blank entries. For example, Project.createStreamFromMainStreamcreateStream("branch1", "\"1.0") |
Project.createStream(String pStreamName, String pVersionSyntaxScript, String pDescription) | No | Create an additional stream based on the inputs. Description, Attribute1, Attribute2 and Attribute3 will be defaulted default to blank entries. For example, Project.createStream("branch1", "\"1.0.0", "March release") |
Project.createStream(String pStreamName, String pVersionSyntaxScript, String pDescription, String pAttribute1, String pAttribute2, String pAttribute3) | No | Create an additional stream based on the inputs. Attribute1, Attribute2 and Attribute3 will be default to blank entriesThe attribute values can be further utilized in different path scripts during SCM configurations below. For example, Project.createStream("branch1", "\"1.0", "March release","attr1","", "") |
@since 5.4.0.2 Project.createStream(String pStreamName, String pVersionSyntaxScript, String pDescription, String pAttribute1, String pAttribute2, String pAttribute3, Long pSequenceNumber) | No | Create an additional stream based on the inputs. The attribute values can be further utilized in different path scripts during SCM configurations below. For example, Project.createStream("branch1", "\"1.0", "March release","attr1","", "", 10) |
SCM Details
Next, configure the SCM details for your selected SCM Type. Choose one of the methods that contains the options that you need to configure for your projects from the list.
...