Interface IProcessingStepDescriptor
- All Known Implementing Classes:
ProcessingStepDescriptor
public interface IProcessingStepDescriptor
Describes a processing step. Processing steps are pieces of code that participate
in the the transfer of an artifact between artifact repositories. A step may alter
the shape of the artifact from its storage format in the repository (such as performing
compression), or it may perform additional checks on the transferred bytes such as
checksums or signature verification.
- Since:
- 2.0
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients. Instead subclass the
ProcessingStepDescriptor
. - Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
An argument that is passed to the processing step instance.Returns the fully qualified id of the processing step extension.boolean
Returns whether the successful execution of this processing step is required for the transfer to be successful.
-
Method Details
-
getProcessorId
String getProcessorId()Returns the fully qualified id of the processing step extension.- Returns:
- The fully qualified processing step extension id
-
getData
String getData()An argument that is passed to the processing step instance. The structure and content of the data is specific to the particular processing step being used.- Returns:
- the processing step data
-
isRequired
boolean isRequired()Returns whether the successful execution of this processing step is required for the transfer to be successful. If the processing step extension is not installed, or fails to execute, then the artifact transfer will fail if the step is required. Failure of optional steps will result in warnings but not prevent the transfer from succeeding.- Returns:
true
if the transfer will fail if this step does not succeed, andfalse
otherwise
-