org.eclipse.cdt.managedbuilder.internal.macros
Class BuildMacroStatus

java.lang.Object
  extended by org.eclipse.core.runtime.Status
      extended by org.eclipse.cdt.core.cdtvariables.CdtVariableStatus
          extended by org.eclipse.cdt.utils.cdtvariables.SupplierBasedCdtVariableStatus
              extended by org.eclipse.cdt.managedbuilder.internal.macros.BuildMacroStatus
All Implemented Interfaces:
ICdtVariableStatus, IBuildMacroStatus, org.eclipse.core.runtime.IStatus

public class BuildMacroStatus
extends org.eclipse.cdt.utils.cdtvariables.SupplierBasedCdtVariableStatus
implements IBuildMacroStatus

This class implements the IBuildMacroStatus interface

Since:
3.0

Field Summary
 
Fields inherited from class org.eclipse.core.runtime.Status
CANCEL_STATUS, OK_STATUS
 
Fields inherited from interface org.eclipse.cdt.core.cdtvariables.ICdtVariableStatus
TYPE_ERROR, TYPE_MACRO_NOT_STRING, TYPE_MACRO_NOT_STRINGLIST, TYPE_MACRO_REFERENCE_INCORRECT, TYPE_MACRO_UNDEFINED, TYPE_MACROS_REFERENCE_EACHOTHER
 
Fields inherited from interface org.eclipse.core.runtime.IStatus
CANCEL, ERROR, INFO, OK, WARNING
 
Constructor Summary
BuildMacroStatus(int severity, int code, java.lang.String message, java.lang.Throwable exception, java.lang.String macroName, java.lang.String expression, java.lang.String referencedName, org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo info)
           
BuildMacroStatus(int code, java.lang.String macroName, java.lang.String expression, java.lang.String referencedName, org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo info)
           
BuildMacroStatus(int code, java.lang.String message, java.lang.Throwable exception, java.lang.String macroName, java.lang.String expression, java.lang.String referencedName, org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo info)
           
 
Method Summary
 java.lang.Object getContextData()
          returns the context data used in the operation
 int getContextType()
          returns the context type used in the operation
 java.lang.String getMacroName()
           
 
Methods inherited from class org.eclipse.cdt.utils.cdtvariables.SupplierBasedCdtVariableStatus
getVariableContextInfo
 
Methods inherited from class org.eclipse.cdt.core.cdtvariables.CdtVariableStatus
getExpression, getReferencedMacroName, getVariableName
 
Methods inherited from class org.eclipse.core.runtime.Status
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.cdt.core.cdtvariables.ICdtVariableStatus
getExpression, getReferencedMacroName, getVariableName
 
Methods inherited from interface org.eclipse.core.runtime.IStatus
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches
 

Constructor Detail

BuildMacroStatus

public BuildMacroStatus(int severity,
                        int code,
                        java.lang.String message,
                        java.lang.Throwable exception,
                        java.lang.String macroName,
                        java.lang.String expression,
                        java.lang.String referencedName,
                        org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo info)

BuildMacroStatus

public BuildMacroStatus(int code,
                        java.lang.String macroName,
                        java.lang.String expression,
                        java.lang.String referencedName,
                        org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo info)

BuildMacroStatus

public BuildMacroStatus(int code,
                        java.lang.String message,
                        java.lang.Throwable exception,
                        java.lang.String macroName,
                        java.lang.String expression,
                        java.lang.String referencedName,
                        org.eclipse.cdt.utils.cdtvariables.IVariableContextInfo info)
Method Detail

getContextType

public int getContextType()
Description copied from interface: IBuildMacroStatus
returns the context type used in the operation

Specified by:
getContextType in interface IBuildMacroStatus
Returns:
int

getContextData

public java.lang.Object getContextData()
Description copied from interface: IBuildMacroStatus
returns the context data used in the operation

Specified by:
getContextData in interface IBuildMacroStatus
Returns:
Object

getMacroName

public java.lang.String getMacroName()
Specified by:
getMacroName in interface IBuildMacroStatus