All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.testingsyndicate.jupiter.extensions.resources.ResourceInfo Maven / Gradle / Ivy

The newest version!
package com.testingsyndicate.jupiter.extensions.resources;

/**
 * A type which represents a resource.
 *
 * 

Resolving test resources to this type allows you to lookup information about them, e.g. the * full name of the resource given the context of the class you are looking up from. * *

You can also re-resolve this into another type using the {@link #resolveTo(Class)} method */ public interface ResourceInfo { /** * @return the name of the resource requested */ String getName(); /** * @return the full name of the resource considering the package name */ String getFullName(); /** * Re-Resolve this ResourceInfo into another supported type. * * @param target the type that this resource should be resolved into * @return the resolved resource as an instance of the target type * @param generic type specifier for the target type */ T resolveTo(Class target); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy