Class RserveRequirement

  • All Implemented Interfaces:
    Requirement

    public class RserveRequirement
    extends AbstractRequirement
    This class define a Rserve server requirement.
    Since:
    2.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • RserveRequirement

        public RserveRequirement()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: Requirement
        The name of the requirement.
        Returns:
        the name of the requirement
      • isAvailable

        public boolean isAvailable()
        Description copied from interface: Requirement
        Test if the requirement is available.
        Returns:
        true if he requirement is optional
      • newRserveRequirement

        public static Requirement newRserveRequirement​(String rserveServerName)
        Create a new mandatory Rserve requirement.
        Parameters:
        rserveServerName - the Rserve server name
      • newRserveRequirement

        public static Requirement newRserveRequirement​(String rserveServerName,
                                                       boolean optional)
        Create a new Rserve requirement.
        Parameters:
        rserveServerName - the Rserve server name
        optional - true if the Rserve server is a mandatory requirement