Package net.coderazzi.openapi4aws.plugin
Class PathIntegration
- java.lang.Object
-
- net.coderazzi.openapi4aws.plugin.PathIntegration
-
- All Implemented Interfaces:
net.coderazzi.openapi4aws.Configuration.Integration
public class PathIntegration extends Object
-
-
Constructor Summary
Constructors Constructor Description PathIntegration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheck()StringgetAuthorizer()StringgetElementName()StringgetPath()List<String>getScopes()StringgetUri(String path)protected voidrequireField(Object field, String fieldName)protected voidrequireValue(String fieldValue, String requiredValue, String fieldName)static voidthrowException(String msg)
-
-
-
Method Detail
-
getPath
public String getPath()
-
check
public void check() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getAuthorizer
public String getAuthorizer()
- Specified by:
getAuthorizerin interfacenet.coderazzi.openapi4aws.Configuration.Integration
-
getScopes
public List<String> getScopes()
- Specified by:
getScopesin interfacenet.coderazzi.openapi4aws.Configuration.Integration
-
throwException
public static void throwException(String msg) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
requireField
protected void requireField(Object field, String fieldName) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
requireValue
protected void requireValue(String fieldValue, String requiredValue, String fieldName) throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getElementName
public String getElementName()
-
-