com.bea.wli.sb.management.importexport
Class ALSBJarInfo

java.lang.Object
  extended by com.bea.wli.sb.management.importexport.ALSBJarInfo
All Implemented Interfaces:
Serializable

public class ALSBJarInfo
extends Object
implements Serializable

An instance of this class contains information about a config jar that has been uploaded for the purpose of import but not yet imported. The ALSBJarInfo serves two main purposes:

See Also:
Serialized Form

Constructor Summary
ALSBJarInfo(Map<Ref,ALSBResourceInfo> resourceInfos, boolean isProjectLevelExport)
           
 
Method Summary
 ALSBImportPlan getDefaultImportPlan()
          Returns the default import plan for the importing jar.
 Map<Ref,ALSBResourceInfo> getResourceInfos()
          Returns information about individual resources in the jar file
 boolean isProjectLevelExport()
          Returns whether the jar file was exported at the project level.
 void setDefaultImportPlan(ALSBImportPlan defaultImportPlan)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ALSBJarInfo

public ALSBJarInfo(Map<Ref,ALSBResourceInfo> resourceInfos,
                   boolean isProjectLevelExport)
Parameters:
resourceInfos - A map of resources and information about them useful during import ALSBResourceInfo
isProjectLevelExport - Indicates whether jar was exported at a project level.
Method Detail

isProjectLevelExport

public boolean isProjectLevelExport()
Returns whether the jar file was exported at the project level. The value of this attribute affects how the default import plan is computed. See ALSBImportPlan for more information about how the default plan is computed.


getResourceInfos

public Map<Ref,ALSBResourceInfo> getResourceInfos()
Returns information about individual resources in the jar file


getDefaultImportPlan

public ALSBImportPlan getDefaultImportPlan()
                                    throws NotFoundException
Returns the default import plan for the importing jar. Users can customize it later by editing default Import Operations. Refer to ALSBImportPlan and ALSBImportOperation for more information about how the default import plan is computed

Returns:
the default import plan
Throws:
NotFoundException

setDefaultImportPlan

public void setDefaultImportPlan(ALSBImportPlan defaultImportPlan)