psdi.app.report

Class ReportConstants.ReportTypes

  • java.lang.Object
    • java.lang.Enum
      • psdi.app.report.ReportConstants.ReportTypes
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable, MboSpecification
    Enclosing interface:
    ReportConstants


    public static final class ReportConstants.ReportTypes
    extends java.lang.Enum
    implements MboSpecification
    It must describe all existing file types for scheduled reports, plus a default HTML.
    Since:
    v7.5
    See Also:
    Serialized Form
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Enum
      • isType

        public boolean isType(java.lang.String type)
        Checks if the given type is a match
        Parameters:
        type - - Any string, including null
        Returns:
        boolean - True if it matches. False it value is null, empty or different.
      • isSatisfiedBy

        public boolean isSatisfiedBy(MboRemote report)
                              throws java.rmi.RemoteException,
                                     MXException
        Checks the REPORT MboRemote for The column specified on the constant ReportConstants.ReportTypes.FIELD, for a match against this enum entry.
        Specified by:
        isSatisfiedBy in interface MboSpecification
        Parameters:
        report -
        Returns:
        true if it matches, false if it doesn't or is null
        Throws:
        java.rmi.RemoteException
        MXException