Top Description Fields Constructors Methods
com.oracle.bmc.auth.internal

public abstract Class AbstractTemplateRptPathProvider

extends Object
implements RptPathProvider
Class Inheritance
All Implemented Interfaces
com.oracle.bmc.auth.internal.RptPathProvider
Known Direct Subclasses
com.oracle.bmc.auth.internal.DefaultLeafRptPathProvider, com.oracle.bmc.auth.internal.DefaultRptPathProvider, com.oracle.bmc.auth.internal.EnvironmentRptPathProvider, com.oracle.bmc.auth.internal.ImdsRptPathProvider
Imports
com.oracle.bmc.util.internal.StringUtils, org.slf4j.Logger, java.util.Map

This abstract path provider has a string template with placeholders like {id}, and provides a way to get a mapping of substitutions to fill in.

Field Summary

Modifier and TypeField and Description
private static final Logger
private final String

Constructor Summary

AccessConstructor and Description
public
AbstractTemplateRptPathProvider(String
string template with placeholders like "{id}"
pathTemplate
)

Constructor of AbstractTemplateRptPathProvider.

Method Summary

Modifier and TypeMethod and Description
public String
protected abstract Map<String, String>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGback to summary
private static final Logger LOG
pathTemplateback to summary
private final String pathTemplate

Constructor Detail

AbstractTemplateRptPathProviderback to summary
public AbstractTemplateRptPathProvider(String pathTemplate)

Constructor of AbstractTemplateRptPathProvider.

Parameters
pathTemplate:String

string template with placeholders like "{id}"

Method Detail

getPathback to summary
public String getPath()

Implements com.oracle.bmc.auth.internal.RptPathProvider.getPath.

Annotations
@Override
getReplacementsback to summary
protected abstract Map<String, String> getReplacements()