Package io.inversion
Class Op
java.lang.Object
io.inversion.Op
- All Implemented Interfaces:
Comparable<Op>
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintstatic intfunctionAsInt(Op.OpFunction func) io.inversion.utils.PathgetApi()io.inversion.utils.PathgetDb()io.inversion.utils.Pathio.inversion.utils.PathgetName()io.inversion.utils.PathgetPath()intgetPathParams(int pathIndex) getPathParamValue(String key) booleanbooleanisEpAction(Action action) booleanIndicates this operation should not be called from clients directly but may be used for internal calls.booleanvoidremoveParam(Param param) toString()withActionMatch(Action action, io.inversion.utils.Path actionMatchPath, Boolean isEpAction) withActionPathMatch(io.inversion.utils.Path actionPathMatch) withCollection(Collection collection) withCollectionPathMatch(io.inversion.utils.Path collectionPathMatch) withDbMatchPath(io.inversion.utils.Path dbMatchPath) withDbPathMatch(io.inversion.utils.Path dbPathMatch) withDescription(String description) withEndpoint(Endpoint endpoint) withEndpointPathMatch(io.inversion.utils.Path endpointPathMatch) withEngine(Engine engine) withFunction(Op.OpFunction function) withInternal(boolean internal) withMethod(String method) withPath(io.inversion.utils.Path path) withRelationship(Relationship relationship)
-
Constructor Details
-
Op
public Op()
-
-
Method Details
-
matches
-
getOperationPath
-
isInternal
public boolean isInternal()Indicates this operation should not be called from clients directly but may be used for internal calls.- Returns:
- true if
internalis true or either endpoint.isInternal() or collection.isInternal() are true
-
withInternal
-
toString
-
getActionPathMatch
public io.inversion.utils.Path getActionPathMatch() -
withActionPathMatch
-
withActionMatch
-
getActions
-
hasParams
-
getPathParamValue
-
withParam
-
getParams
-
removeParam
-
getPathParams
-
getParam
-
getPathParamCount
public int getPathParamCount() -
compareTo
- Specified by:
compareToin interfaceComparable<Op>
-
functionAsInt
-
getName
-
withName
-
getMethod
-
withMethod
-
getFunction
-
withFunction
-
getPath
public io.inversion.utils.Path getPath() -
withPath
-
getEndpointPathMatch
public io.inversion.utils.Path getEndpointPathMatch() -
withEndpointPathMatch
-
getEndpoint
-
withEndpoint
-
getCollection
-
withCollection
-
getRelationship
-
withRelationship
-
getApi
-
withApi
-
getDbPathMatch
public io.inversion.utils.Path getDbPathMatch() -
withDbMatchPath
-
getDb
-
withDb
-
getEngine
-
withEngine
-
withDbPathMatch
-
getCollectionPathMatch
public io.inversion.utils.Path getCollectionPathMatch() -
withCollectionPathMatch
-
getDescription
-
withDescription
-
getActionPathMatches
-
isEpAction
-