if (exportContext == null || exportContext.length == 0)
{
throw new IllegalArgumentException("Must provide a non null or empty exportContext to SetExportLifetime.");
}
SetExportLifetime setExportLifetime = new SetExportLifetime();
setExportLifetime.setRegistrationContext(registrationContext);
setExportLifetime.setExportContext(exportContext);
setExportLifetime.setUserContext(userContext);
setExportLifetime.setLifetime(lifetime);
return setExportLifetime;
}