java.lang.Object
org.palladiosimulator.simulizar.test.commons.annotation.Named.Factory
All Implemented Interfaces:
Function<org.junit.jupiter.api.extension.ParameterContext,Predicate<Object>>
Enclosing class:
Named

public static class Named.Factory extends Object implements Function<org.junit.jupiter.api.extension.ParameterContext,Predicate<Object>>
The predicate factory for the enclosing annotation
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(org.junit.jupiter.api.extension.ParameterContext t)
    Creates a predicate which checks, whether the object is of type Identifier and if so, whether the identifier matches the value of the Named annotation of the parameter.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose
  • Constructor Details

    • Factory

      public Factory()
  • Method Details

    • apply

      public Predicate<Object> apply(org.junit.jupiter.api.extension.ParameterContext t)
      Creates a predicate which checks, whether the object is of type Identifier and if so, whether the identifier matches the value of the Named annotation of the parameter.
      Specified by:
      apply in interface Function<org.junit.jupiter.api.extension.ParameterContext,Predicate<Object>>