Class: GitMaintain::CI
- Inherits:
-
Object
- Object
- GitMaintain::CI
- Defined in:
- lib/ci.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
- #checkStableState(br, sha1) ⇒ Object
- #checkValidState(br, sha1) ⇒ Object
- #emptyCache ⇒ Object
- #getStableLog(br, sha1) ⇒ Object
- #getStableState(br, sha1) ⇒ Object
- #getStableTS(br, sha1) ⇒ Object
- #getValidLog(br, sha1) ⇒ Object
- #getValidState(br, sha1) ⇒ Object
- #getValidTS(br, sha1) ⇒ Object
-
#initialize(repo) ⇒ CI
constructor
A new instance of CI.
- #isErrored(br, status) ⇒ Object
Constructor Details
#initialize(repo) ⇒ CI
Returns a new instance of CI.
9 10 11 12 13 14 |
# File 'lib/ci.rb', line 9 def initialize(repo) GitMaintain::checkDirectConstructor(self.class) @repo = repo @cachedJson={} end |
Class Method Details
.load(repo) ⇒ Object
4 5 6 7 |
# File 'lib/ci.rb', line 4 def self.load(repo) repo_name = File.basename(repo.path) return GitMaintain::loadClass(CI, repo_name, repo) end |
Instance Method Details
#checkStableState(br, sha1) ⇒ Object
71 72 73 |
# File 'lib/ci.rb', line 71 def checkStableState(br, sha1) raise("Unimplemented") end |
#checkValidState(br, sha1) ⇒ Object
58 59 60 |
# File 'lib/ci.rb', line 58 def checkValidState(br, sha1) raise("Unimplemented") end |
#emptyCache ⇒ Object
80 81 82 |
# File 'lib/ci.rb', line 80 def emptyCache() @cachedJson={} end |
#getStableLog(br, sha1) ⇒ Object
74 75 76 |
# File 'lib/ci.rb', line 74 def getStableLog(br, sha1) raise("Unimplemented") end |
#getStableState(br, sha1) ⇒ Object
68 69 70 |
# File 'lib/ci.rb', line 68 def getStableState(br, sha1) raise("Unimplemented") end |
#getStableTS(br, sha1) ⇒ Object
77 78 79 |
# File 'lib/ci.rb', line 77 def getStableTS(br, sha1) raise("Unimplemented") end |
#getValidLog(br, sha1) ⇒ Object
61 62 63 |
# File 'lib/ci.rb', line 61 def getValidLog(br, sha1) raise("Unimplemented") end |
#getValidState(br, sha1) ⇒ Object
55 56 57 |
# File 'lib/ci.rb', line 55 def getValidState(br, sha1) raise("Unimplemented") end |
#getValidTS(br, sha1) ⇒ Object
64 65 66 |
# File 'lib/ci.rb', line 64 def getValidTS(br, sha1) raise("Unimplemented") end |
#isErrored(br, status) ⇒ Object
84 85 86 |
# File 'lib/ci.rb', line 84 def isErrored(br, status) raise("Unimplemented") end |