IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.ras.profile.management.artifact
Interface IArtifactManagerFactory


public interface IArtifactManagerFactory

The IArtifactManagerFactory provides a factory for creating IArtifactManager instances. This interface is not intended to be implemented by clients.


Method Summary
 IArtifactManager create(Artifact theArtifact)
          Creates an IArtifactManager on the given Artifact.
 IArtifactManager create(Asset theAsset)
          Creates an IArtifactManager on the given Asset.
 IArtifactManager create(IArtifactManagerAdapter theArtifactManagerAdapter)
          Creates an IArtifactManager on the given theArtifactManagerAdapter
 IArtifactManager create(Solution theSolution)
          Creates an IArtifactManager on the given Solution.
 

Method Detail

create

public IArtifactManager create(Asset theAsset)
                        throws IllegalArgumentException
Creates an IArtifactManager on the given Asset.

Parameters:
theAsset - to use as the root node in the IArtifactManager
Returns:
a new instance of an IArtifactManager
Throws:
IllegalArgumentException - if theAsset is null.

create

public IArtifactManager create(Solution theSolution)
                        throws IllegalArgumentException
Creates an IArtifactManager on the given Solution.

Parameters:
theSolution - to use as the root node in the IArtifactManager
Returns:
a new instance of an IArtifactManager
Throws:
IllegalArgumentException - if theSolution is null.

create

public IArtifactManager create(Artifact theArtifact)
                        throws IllegalArgumentException
Creates an IArtifactManager on the given Artifact.

Parameters:
theArtifact - to use as the root node in the IArtifactManager
Returns:
a new instance of an IArtifactManager
Throws:
IllegalArgumentException - if theArtifact is null.

create

public IArtifactManager create(IArtifactManagerAdapter theArtifactManagerAdapter)
                        throws IllegalArgumentException
Creates an IArtifactManager on the given theArtifactManagerAdapter

Parameters:
theArtifactManagerAdapter - to use as the root node in the IArtifactManager
Returns:
a new instance of an IArtifactManager
Throws:
IllegalArgumentException - if theArtifactManagerAdapter is null.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.