Class RESTOperationName
java.lang.Object
org.palladiosimulator.retriever.extraction.commonalities.RESTOperationName
- All Implemented Interfaces:
Name
,OperationName
-
Constructor Summary
ConstructorDescriptionRESTOperationName
(String host, String path, Set<HTTPMethod> httpMethods) RESTOperationName
(String host, String path, HTTPMethod... httpMethods) -
Method Summary
Modifier and TypeMethodDescriptioncreateName
(String name) boolean
forInterface
(String baseInterface) getCommonInterface
(Name other) int
hashCode()
boolean
static Optional<RESTOperationName>
toString()
-
Constructor Details
-
RESTOperationName
public RESTOperationName(String host, String path, Set<HTTPMethod> httpMethods) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
RESTOperationName
public RESTOperationName(String host, String path, HTTPMethod... httpMethods) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
-
Method Details
-
getInterface
- Specified by:
getInterface
in interfaceOperationName
-
forInterface
- Specified by:
forInterface
in interfaceOperationName
-
getInterfaces
- Specified by:
getInterfaces
in interfaceName
-
createName
- Specified by:
createName
in interfaceName
-
toString
-
hashCode
public int hashCode() -
equals
-
getCommonInterface
- Specified by:
getCommonInterface
in interfaceName
-
isPartOf
-
parse
-