Class RemoveSpecificValuesOperation

  • All Implemented Interfaces:
    Operation

    public class RemoveSpecificValuesOperation
    extends java.lang.Object
    implements Operation
    An Operation that removes specific values of a parameter from the map.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String parameterName  
      private java.util.List<java.lang.String> parameterValues  
    • Constructor Summary

      Constructors 
      Constructor Description
      RemoveSpecificValuesOperation​(java.lang.String parameterName, java.util.List<java.lang.String> parameterValues)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.String[]> apply​(java.util.Map<java.lang.String,​java.lang.String[]> parameters)
      Apply the operation on the given parameters
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • parameterName

        private java.lang.String parameterName
      • parameterValues

        private java.util.List<java.lang.String> parameterValues
    • Constructor Detail

      • RemoveSpecificValuesOperation

        public RemoveSpecificValuesOperation​(java.lang.String parameterName,
                                             java.util.List<java.lang.String> parameterValues)
    • Method Detail

      • apply

        public java.util.Map<java.lang.String,​java.lang.String[]> apply​(java.util.Map<java.lang.String,​java.lang.String[]> parameters)
        Description copied from interface: Operation
        Apply the operation on the given parameters
        Specified by:
        apply in interface Operation
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object