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 57
57:     def validate()
58:         if ( change.jobs.length() == 0 )
59:             message( @@USER_MESSAGE )
60:             return false
61:         end
62:         return true
63:     end

[Validate]