public interface ContainerContent
| Modifier and Type | Method and Description |
|---|---|
TarArchive |
getArchive()
Return the actual content to be added.
|
java.lang.String |
getDestinationPath()
Return the destination path where the content should be added.
|
static ContainerContent |
of(TarArchive archive)
Factory method to create a new
ContainerContent instance written to the
root of the container. |
static ContainerContent |
of(TarArchive archive,
java.lang.String destinationPath)
Factory method to create a new
ContainerContent instance. |
TarArchive getArchive()
java.lang.String getDestinationPath()
static ContainerContent of(TarArchive archive)
ContainerContent instance written to the
root of the container.archive - the archive to addContainerContent instancestatic ContainerContent of(TarArchive archive, java.lang.String destinationPath)
ContainerContent instance.archive - the archive to adddestinationPath - the destination path within the containerContainerContent instance