getComponent

Back to index

Summary

Retrieves a component by name.
projectName
Stringrequired
The name for the project that must be unique among all projects.
componentName
Stringrequired
The name of the component.
applicationEntityRevisionId
UUIDoptional
The revision ID of the versioned object.
applicationName
Stringoptional
The name of an application to scope this component to.

Usage

Perl

$cmdr->getComponent( "test-projectName", # projectName "test-componentName" # componentName # optionals );

ectool

ectool getComponent \ "test-projectName" `# projectName` \ "test-componentName" `# componentName` \ # optionals

Examples

Perl

$cmdr->getComponent("Default", "WAR file", {applicationEntityRevisionId => "4fa765dd-73f1-11e3-b67e-b0a420524153"});

ectool

ectool getComponent "Default" "WAR file" --applicationEntityRevisionId "4fa765dd-73f1-11e3-b67e-b0a420524153"