Class AbstractPackagerWrappingCrosswalk
- Direct Known Subclasses:
RoleCrosswalk
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.
- Version:
- $Revision: 3761 $
- Author:
- Tim Donohue
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet custom ingestion license for this Crosswalk.Get custom packaging parameters for this Crosswalk.voidsetIngestionLicense(String license) Set custom ingestion license for this Crosswalk.voidsetPackagingParameters(PackageParameters pparams) Set custom packaging parameters for this Crosswalk.
-
Constructor Details
-
AbstractPackagerWrappingCrosswalk
public AbstractPackagerWrappingCrosswalk()
-
-
Method Details
-
setPackagingParameters
Set custom packaging parameters for this Crosswalk.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.
- Parameters:
pparams- PackageParameters to make available to the Crosswalk
-
getPackagingParameters
Get custom packaging parameters for this Crosswalk.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.
- Returns:
- PackageParameters previously made available to the Crosswalk or null
-
setIngestionLicense
Set custom ingestion license for this Crosswalk.This license can be used by the crosswalk when calling a PackageIngester
- Parameters:
license- the full text of the ingestion license- See Also:
-
getIngestionLicense
Get custom ingestion license for this Crosswalk.This license can be used by the crosswalk when calling a PackageIngester
- Returns:
- the full text of the ingestion license as a String
- See Also:
-