public static BusinessArchive getBusinessArchive(final ProcessDefinition process, final Class< ? >... classes) throws IOException, ClassNotFoundException { Misc.checkArgsNotNull(process); return new BusinessArchiveImpl(process, null, classes); }
public static BusinessArchive getBusinessArchive(final ProcessDefinition process, final Class< ? >... classes) throws IOException, ClassNotFoundException { Misc.checkArgsNotNull(process); return new BusinessArchiveImpl(process, null, classes); }
public static BusinessArchive getBusinessArchive(final ProcessDefinition process, final Map<String, byte[]> resources, final Class< ? >... classes) throws IOException, ClassNotFoundException { Misc.checkArgsNotNull(process); return new BusinessArchiveImpl(process, resources, classes); }
public static BusinessArchive getBusinessArchive(final ProcessDefinition process, final Map<String, byte[]> resources, final Class< ? >... classes) throws IOException, ClassNotFoundException { Misc.checkArgsNotNull(process); return new BusinessArchiveImpl(process, resources, classes); }
return new BusinessArchiveImpl(process, newResources);
return new BusinessArchiveImpl(process, newResources);
@Override public BusinessArchive getBusinessArchive(final ProcessDefinitionUUID processDefinitionUUID) throws ProcessNotFoundException { Misc.checkArgsNotNull(processDefinitionUUID); final LargeDataRepository ldr = EnvTool.getLargeDataRepository(); final Map<String, byte[]> resources = ldr.getData(byte[].class, Misc.getBusinessArchiveCategories(processDefinitionUUID)); return new BusinessArchiveImpl(processDefinitionUUID, resources); }
this.version = src.getVersion(); this.xpdlVersion = src.getXPDLVersion(); this.businessArchive = new BusinessArchiveImpl(src.getBusinessArchive()); this.state = src.getState();