class Bezebe::CVS::CvsListener
Attributes
client[RW]
logInfo[RW]
logInfos[RW]
Public Instance Methods
commandTerminated(termination_event)
click to toggle source
# File lib/bezebe-cvs/cvslistener.rb, line 53 def commandTerminated (termination_event) #p "terminated" end
fileAdded(file_added_event)
click to toggle source
# File lib/bezebe-cvs/cvslistener.rb, line 21 def fileAdded (file_added_event) #p "added" end
fileInfoGenerated(file_info_event)
click to toggle source
# File lib/bezebe-cvs/cvslistener.rb, line 33 def fileInfoGenerated (file_info_event) #p "info" if file_info_event.getInfoContainer._classname == "org.netbeans.lib.cvsclient.command.log.LogInformation" then @logInfo = ::Bezebe::CVS::LogInfo.new file_info_event.getInfoContainer @logInfos = [] if @logInfos.nil?; @logInfos << @logInfo end if file_info_event.getInfoContainer._classname == "org.netbeans.lib.cvsclient.command.status.StatusInformation" then p "some status information to be processed" p file_info_event.getInfoContainer.getRepositoryRevision p file_info_event.getInfoContainer.getWorkingRevision p file_info_event.getInfoContainer.getStatusString p file_info_event.getInfoContainer.getStickyDate p file_info_event.getInfoContainer.getStickyOptions p file_info_event.getInfoContainer.getStickyTag p file_info_event.getInfoContainer.getRepositoryFileName end return nil end
fileRemoved(file_removed_event)
click to toggle source
# File lib/bezebe-cvs/cvslistener.rb, line 27 def fileRemoved (file_removed_event) #p "removed" end
fileToRemove(file_to_remove_event)
click to toggle source
# File lib/bezebe-cvs/cvslistener.rb, line 24 def fileToRemove (file_to_remove_event) #p "toremove" end
fileUpdated(file_updated_event)
click to toggle source
# File lib/bezebe-cvs/cvslistener.rb, line 30 def fileUpdated (file_updated_event) #p "updated" end
messageSent(message_event)
click to toggle source
# File lib/bezebe-cvs/cvslistener.rb, line 7 def messageSent (message_event) #p "sent" #p message_event.getMessage if !message_event.getMessage.empty? #p message_event.isError if message_event.isError #p message_event.isTagged #p message_event.toString #p message_event.getSource._classname if message_event.getSource._classname == "org.netbeans.lib.cvsclient.response.ErrorMessageResponse" then #p message_event.getSource.getMessage if message_event.getSource.getMessage =~ /\[server\ aborted\]/ then client.abort end end end
moduleExpanded(module_expansion_event)
click to toggle source
# File lib/bezebe-cvs/cvslistener.rb, line 56 def moduleExpanded (module_expansion_event) #p "expanded" end