Record Class ProviderInvocation<T extends Resource>
java.lang.Object
java.lang.Record
org.jdrupes.builder.core.ProviderInvocation<T>
- Type Parameters:
T- the generic type- Record Components:
provider- the providerrequest- the requested resources
public record ProviderInvocation<T extends Resource>(ResourceProvider provider, ResourceRequest<T extends Resource> request)
extends Record
Provided resources are identified by the
ResourceProvider
and the requested Resource.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProviderInvocation(ResourceProvider provider, ResourceRequest<T> request) Creates an instance of aProviderInvocationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.provider()Returns the value of theproviderrecord component.request()Returns the value of therequestrecord component.toString()Returns a string representation of this record class.
-
Field Details
-
LAUNCH
The launching invocation.
-
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
provider
-
request
-