Record Class EntitlementBootstrap.BootstrapArgs
java.lang.Object
java.lang.Record
org.elasticsearch.entitlement.bootstrap.EntitlementBootstrap.BootstrapArgs
- Enclosing class:
EntitlementBootstrap
-
Constructor Summary
ConstructorsConstructorDescriptionBootstrapArgs(Policy serverPolicyPatch, Map<String, Policy> pluginPolicies, Function<Class<?>, PolicyManager.PolicyScope> scopeResolver, PathLookup pathLookup, Map<String, Path> sourcePaths, Set<Package> suppressFailureLogPackages) Creates an instance of aBootstrapArgsrecord 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.Returns the value of thepathLookuprecord component.Returns the value of thepluginPoliciesrecord component.Returns the value of thescopeResolverrecord component.Returns the value of theserverPolicyPatchrecord component.Returns the value of thesourcePathsrecord component.Returns the value of thesuppressFailureLogPackagesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BootstrapArgs
public BootstrapArgs(@Nullable Policy serverPolicyPatch, Map<String, Policy> pluginPolicies, Function<Class<?>, PolicyManager.PolicyScope> scopeResolver, PathLookup pathLookup, Map<String, Path> sourcePaths, Set<Package> suppressFailureLogPackages) Creates an instance of aBootstrapArgsrecord class.- Parameters:
serverPolicyPatch- the value for theserverPolicyPatchrecord componentpluginPolicies- the value for thepluginPoliciesrecord componentscopeResolver- the value for thescopeResolverrecord componentpathLookup- the value for thepathLookuprecord componentsourcePaths- the value for thesourcePathsrecord componentsuppressFailureLogPackages- the value for thesuppressFailureLogPackagesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
serverPolicyPatch
Returns the value of theserverPolicyPatchrecord component.- Returns:
- the value of the
serverPolicyPatchrecord component
-
pluginPolicies
Returns the value of thepluginPoliciesrecord component.- Returns:
- the value of the
pluginPoliciesrecord component
-
scopeResolver
Returns the value of thescopeResolverrecord component.- Returns:
- the value of the
scopeResolverrecord component
-
pathLookup
Returns the value of thepathLookuprecord component.- Returns:
- the value of the
pathLookuprecord component
-
sourcePaths
Returns the value of thesourcePathsrecord component.- Returns:
- the value of the
sourcePathsrecord component
-
suppressFailureLogPackages
Returns the value of thesuppressFailureLogPackagesrecord component.- Returns:
- the value of the
suppressFailureLogPackagesrecord component
-