MCPcopy Create free account
hub / github.com/quentinhardy/odat / deleteClassAndFunctionToExecOsCmd

Method deleteClassAndFunctionToExecOsCmd

Java.py:123–138  ·  view source on GitHub ↗

Delete the COMPILED JAVA CLASS and delete the CREATED FUNCTION

(self)

Source from the content-addressed store, hash-verified

121 return True
122
123 def deleteClassAndFunctionToExecOsCmd(self):
124 '''
125 Delete the COMPILED JAVA CLASS and delete the CREATED FUNCTION
126 '''
127 logging.info("Delete the PL/SQL function created")
128 status = self.__execPLSQL__(self.SOURCE_DROP_FUNCTION)
129 if isinstance(status,Exception):
130 logging.info("Impossible to drop the function: {0}".format(self.cleanError(status)))
131 return status
132 else:
133 logging.info("Delete the java class compiled")
134 status = self.__execPLSQL__(self.SOURCE_DROP_CLASS)
135 if isinstance(status,Exception):
136 logging.info("Impossible to drop the class: {0}".format(self.cleanError(status)))
137 return status
138 return True
139
140 def __runOSCmd__ (self, cmd, printResponse=True, retryNb=1):
141 '''

Callers 3

execOSCommandMethod · 0.95
getInteractiveShellMethod · 0.95
testAllMethod · 0.95

Calls 2

__execPLSQL__Method · 0.80
cleanErrorMethod · 0.80

Tested by

no test coverage detected