T
- type of created descriptors@NoImplement public interface ArtifactDescriptorFactory<T extends ArtifactDescriptor>
Modifier and Type | Method and Description |
---|---|
T |
create(File artifactFolder,
Optional<Properties> deploymentProperties)
Creates an artifact descriptor from a folder.
|
T create(File artifactFolder, Optional<Properties> deploymentProperties) throws ArtifactDescriptorCreateException
artifactFolder
- an existing folder containing artifact filesdeploymentProperties
- properties provided for the deployment process.ArtifactDescriptorCreateException
- if the factory is not able to create a descriptor from the folder.Copyright © 2018. All rights reserved.