org.eclipse.ocl.examples.emf.validation.validity.export
Class ValidityExporterDescriptor

java.lang.Object
  extended by org.eclipse.ocl.examples.emf.validation.validity.export.ValidityExporterDescriptor
All Implemented Interfaces:
IValidityExporterDescriptor

public class ValidityExporterDescriptor
extends java.lang.Object
implements IValidityExporterDescriptor

Describes an extension as contributed to the validity-exporter extension point.


Constructor Summary
ValidityExporterDescriptor(org.eclipse.core.runtime.IConfigurationElement configuration, java.lang.String exporterClassAttribute, java.lang.String exporterType, java.lang.String exporterName)
          Instantiates a descriptor with all information.
 
Method Summary
 IValidityExporter getExporter()
          Creates an instance of this descriptor's IValidityExporter.
 java.lang.String getExporterName()
          Returns this descriptor's "exporter" extension.
 java.lang.String getExporterType()
          Returns this descriptor's "extension" name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidityExporterDescriptor

public ValidityExporterDescriptor(org.eclipse.core.runtime.IConfigurationElement configuration,
                                  @NonNull
                                  java.lang.String exporterClassAttribute,
                                  @NonNull
                                  java.lang.String exporterType,
                                  @NonNull
                                  java.lang.String exporterName)
Instantiates a descriptor with all information.

Parameters:
configuration - Configuration element from which to create this descriptor.
exporterName -
exporterType -
validityExporterClassAttribute -
Method Detail

getExporterType

@NonNull
public java.lang.String getExporterType()
Returns this descriptor's "extension" name.

Specified by:
getExporterType in interface IValidityExporterDescriptor
Returns:
This descriptor's "extension" name.

getExporterName

@NonNull
public java.lang.String getExporterName()
Returns this descriptor's "exporter" extension.

Returns:
This descriptor's "exporter" extension.

getExporter

@Nullable
public IValidityExporter getExporter()
Creates an instance of this descriptor's IValidityExporter.

Specified by:
getExporter in interface IValidityExporterDescriptor
Returns:
A new instance of this descriptor's IValidityExporter.