JobTrigger (Class)

In: checkjob.rb
Parent: P4Trigger

The trigger class itself. The main method in here is validate() which is invoked from the super-class’ parse_change() method.

Methods

validate  

Public Instance methods

Do the enforcement.

[Source]

    # File checkjob.rb, line 56
56:     def validate()
57:         if ( change.jobs.length() == 0 )
58:             message( @@USER_MESSAGE )
59:             return false
60:         end
61:         return true
62:     end

[Validate]