Class IsExportTypeExpression

  • All Implemented Interfaces:
    Serializable, Cloneable, Expression

    public class IsExportTypeExpression
    extends AbstractExpression
    Tests, whether a certain export type is currently used. This matches the given export type with the export type that is specified by the output-target. The given export type can be a partial pattern, in which case this expression tests, whether the given export type is a sub-type of the output-target's type.

    To test whether a table-export is used, specifiy the export type as "table" and it will match all table exports.

    Author:
    Thomas Morgner
    See Also:
    Serialized Form
    • Constructor Detail

      • IsExportTypeExpression

        public IsExportTypeExpression()
        Default constructor.
    • Method Detail

      • getExportType

        public String getExportType()
        Returns the export type string.
        Returns:
        the export type string.
      • setExportType

        public void setExportType​(String exportType)
        Defines the export type.
        Parameters:
        exportType - the export type.
      • getValue

        public Object getValue()
        Return Boolean.TRUE, if the specified export type matches the used export type, Boolean.FALSE otherwise.
        Returns:
        the value of the function.