public abstract class AbstractPackagerWrappingCrosswalk extends Object
A Packager Wrapping Crosswalk is a crosswalk which works with or wraps an existing Packager for all or some of its crosswalking functionality.
Crosswalks which utilize Packagers for ingestion/dissemination do not always have enough information to call a Packager (org.dspace.content.packager.*) with the proper parameters. This abstract class allows the crosswalk to store its own PackageParameters and deposit license, which can then be used by the Crosswalk to call a PackageIngester or PackagerDisseminator with all the proper parameters.
IngestionCrosswalk,
DisseminationCrosswalk,
PackageIngester,
PackageDisseminator,
PackageParameters| Constructor and Description |
|---|
AbstractPackagerWrappingCrosswalk() |
| Modifier and Type | Method and Description |
|---|---|
String |
getIngestionLicense()
Get custom ingestion license for this Crosswalk.
|
PackageParameters |
getPackagingParameters()
Get custom packaging parameters for this Crosswalk.
|
void |
setIngestionLicense(String license)
Set custom ingestion license for this Crosswalk.
|
void |
setPackagingParameters(PackageParameters pparams)
Set custom packaging parameters for this Crosswalk.
|
public void setPackagingParameters(PackageParameters pparams)
These PackageParameters can be used to pass on to a Packager Plugin to actually perform the dissemination/ingestion required by this crosswalk.
The crosswalk itself can choose how to utilize or obey these PackageParameters. this method just provides the crosswalk access to these parameters, so that it can make smarter decisions about how to call a particular Packager.
pparams - PackageParameters to make available to the Crosswalkpublic PackageParameters getPackagingParameters()
These PackageParameters can be used to pass on to a Packager Plugin to actually perform the dissemination/ingestion required by this crosswalk.
The crosswalk itself can choose how to utilize or obey these PackageParameters. this method just provides the crosswalk access to these parameters, so that it can make smarter decisions about how to call a particular Packager.
public void setIngestionLicense(String license)
This license can be used by the crosswalk when calling a PackageIngester
license - the full text of the ingestion licensePackageIngesterpublic String getIngestionLicense()
This license can be used by the crosswalk when calling a PackageIngester
PackageIngesterCopyright © 2013 DuraSpace. All Rights Reserved.