Module ical4j.core

Interface Rfc5545Rule<T>

Type Parameters:
T - type of the element this rule can be applied to
All Superinterfaces:
Function<T,T>, UnaryOperator<T>
All Known Subinterfaces:
Rfc5545ComponentRule<T>, Rfc5545PropertyRule<T>
All Known Implementing Classes:
AttendeePropertyRule, DateListPropertyRule, DatePropertyRule, TzIdRule, VAlarmRule, VEventRule

public interface Rfc5545Rule<T> extends UnaryOperator<T>
Incarnation of a RFC5545 rule.
  • Method Details

    • applyTo

      @Deprecated default void applyTo(T element)
      Deprecated.
      Applies this rule to the specified element.
      Parameters:
      element -
    • getSupportedType

      Class<T> getSupportedType()
      Gets the class of the elements this rule can be applied to.
      Returns:
      the class of the elements this rule can be applied to