com.telelogic.rhapsody.core
Class RPExternalCodeGenerator

java.lang.Object
  extended by com.telelogic.rhapsody.core.RPExternalCodeGenerator

public abstract class RPExternalCodeGenerator
extends java.lang.Object


Constructor Summary
RPExternalCodeGenerator()
           
 
Method Summary
abstract  void abort()
          method Abort
 boolean connect(IRPExternalCodeGeneratorInvoker connectionPoint)
           
 boolean disconnect()
           
abstract  void exit()
          method Exit
protected  void finalize()
           
abstract  void generate(IRPModelElement activeConfiguration, IRPCollection classifiersCollection, IRPCollection filesCollection, int generateMainFile, int generateMakefile)
          method Generate
abstract  java.lang.String getFileName(IRPModelElement modelElement, IRPModelElement configuration, int pathType, int withExtensions)
          method GetFileName
abstract  java.lang.String getMainFileName(IRPModelElement configuration, int pathType, int withExtensions)
          method GetMainFileName
abstract  java.lang.String getMakefileName(IRPModelElement configuration, int pathType, int withExtension)
          method GetMakefileName
abstract  java.lang.String getTargetfileName(IRPModelElement configuration, int pathType, int withExtension)
          method GetTargetfileName
abstract  java.lang.String whoAmI()
          method WhoAmI
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RPExternalCodeGenerator

public RPExternalCodeGenerator()
Method Detail

connect

public boolean connect(IRPExternalCodeGeneratorInvoker connectionPoint)

disconnect

public boolean disconnect()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable

abort

public abstract void abort()
method Abort

Throws:
RhapsodyRuntimeException

exit

public abstract void exit()
method Exit

Throws:
RhapsodyRuntimeException

getMainFileName

public abstract java.lang.String getMainFileName(IRPModelElement configuration,
                                                 int pathType,
                                                 int withExtensions)
method GetMainFileName

Throws:
RhapsodyRuntimeException

getTargetfileName

public abstract java.lang.String getTargetfileName(IRPModelElement configuration,
                                                   int pathType,
                                                   int withExtension)
method GetTargetfileName

Throws:
RhapsodyRuntimeException

whoAmI

public abstract java.lang.String whoAmI()
method WhoAmI

Throws:
RhapsodyRuntimeException

generate

public abstract void generate(IRPModelElement activeConfiguration,
                              IRPCollection classifiersCollection,
                              IRPCollection filesCollection,
                              int generateMainFile,
                              int generateMakefile)
method Generate

Throws:
RhapsodyRuntimeException

getFileName

public abstract java.lang.String getFileName(IRPModelElement modelElement,
                                             IRPModelElement configuration,
                                             int pathType,
                                             int withExtensions)
method GetFileName

Throws:
RhapsodyRuntimeException

getMakefileName

public abstract java.lang.String getMakefileName(IRPModelElement configuration,
                                                 int pathType,
                                                 int withExtension)
method GetMakefileName

Throws:
RhapsodyRuntimeException