Class: Travis::Job

Inherits:
Client::Entity show all
Defined in:
lib/travis/client/generated.rb

Instance Attribute Summary

Attributes inherited from Client::Entity

#session

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Client::Entity

#[], add_action, add_attribute, add_related_action, for_session, #initialize, #inspect, #merge!, #permission?, #to_entity, #to_h

Constructor Details

This class inherits a constructor from Travis::Client::Entity

Class Method Details

.cancel(params = {}) ⇒ Object



916
917
918
# File 'lib/travis/client/generated.rb', line 916

def self.cancel(params = {})
  # This is a placeholder.
end

.debug(params = {}) ⇒ Object



912
913
914
# File 'lib/travis/client/generated.rb', line 912

def self.debug(params = {})
  # This is a placeholder.
end

.find(params = {}) ⇒ Object



908
909
910
# File 'lib/travis/client/generated.rb', line 908

def self.find(params = {})
  # This is a placeholder.
end

.restart(params = {}) ⇒ Object



920
921
922
# File 'lib/travis/client/generated.rb', line 920

def self.restart(params = {})
  # This is a placeholder.
end

Instance Method Details

#buildObject

The build the job is associated with.



943
944
945
# File 'lib/travis/client/generated.rb', line 943

def build
  # This is a placeholder.
end

#build?Boolean

Wheather or not #build returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


1017
1018
1019
# File 'lib/travis/client/generated.rb', line 1017

def build?
  # This is a placeholder.
end

#cancel(params = {}) ⇒ Object



1045
1046
1047
# File 'lib/travis/client/generated.rb', line 1045

def cancel(params = {})
  # This is a placeholder.
end

#commitObject

The commit the job is associated with.



1007
1008
1009
# File 'lib/travis/client/generated.rb', line 1007

def commit
  # This is a placeholder.
end

#commit?Boolean

Wheather or not #commit returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


1012
1013
1014
# File 'lib/travis/client/generated.rb', line 1012

def commit?
  # This is a placeholder.
end

#debug(params = {}) ⇒ Object



947
948
949
# File 'lib/travis/client/generated.rb', line 947

def debug(params = {})
  # This is a placeholder.
end

#delete_log(params = {}) ⇒ Object



1065
1066
1067
# File 'lib/travis/client/generated.rb', line 1065

def delete_log(params = {})
  # This is a placeholder.
end

#find(params = {}) ⇒ Object



924
925
926
# File 'lib/travis/client/generated.rb', line 924

def find(params = {})
  # This is a placeholder.
end

#find_log(params = {}) ⇒ Object



1057
1058
1059
# File 'lib/travis/client/generated.rb', line 1057

def find_log(params = {})
  # This is a placeholder.
end

#finished_atObject

When the job finished.



997
998
999
# File 'lib/travis/client/generated.rb', line 997

def finished_at
  # This is a placeholder.
end

#finished_at?Boolean

Wheather or not #finished_at returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


1002
1003
1004
# File 'lib/travis/client/generated.rb', line 1002

def finished_at?
  # This is a placeholder.
end

#idObject

Value uniquely identifying the job.



952
953
954
# File 'lib/travis/client/generated.rb', line 952

def id
  # This is a placeholder.
end

#id?Boolean

Wheather or not #id returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


972
973
974
# File 'lib/travis/client/generated.rb', line 972

def id?
  # This is a placeholder.
end

#log(params = {}) ⇒ Object



938
939
940
# File 'lib/travis/client/generated.rb', line 938

def log(params = {})
  # This is a placeholder.
end

#log_delete(params = {}) ⇒ Object



1061
1062
1063
# File 'lib/travis/client/generated.rb', line 1061

def log_delete(params = {})
  # This is a placeholder.
end

#log_find(params = {}) ⇒ Object



1053
1054
1055
# File 'lib/travis/client/generated.rb', line 1053

def log_find(params = {})
  # This is a placeholder.
end

#numberObject

Incremental number for a repository’s builds.



957
958
959
# File 'lib/travis/client/generated.rb', line 957

def number
  # This is a placeholder.
end

#number?Boolean

Wheather or not #number returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


982
983
984
# File 'lib/travis/client/generated.rb', line 982

def number?
  # This is a placeholder.
end

#ownerObject

GitHub user or organization the job belongs to.



934
935
936
# File 'lib/travis/client/generated.rb', line 934

def owner
  # This is a placeholder.
end

#owner?Boolean

Wheather or not #owner returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


1032
1033
1034
# File 'lib/travis/client/generated.rb', line 1032

def owner?
  # This is a placeholder.
end

#queueObject

Worker queue this job is/was scheduled on.



1022
1023
1024
# File 'lib/travis/client/generated.rb', line 1022

def queue
  # This is a placeholder.
end

#queue?Boolean

Wheather or not #queue returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


1027
1028
1029
# File 'lib/travis/client/generated.rb', line 1027

def queue?
  # This is a placeholder.
end

#repositoryObject

GitHub user or organization the job belongs to.



962
963
964
# File 'lib/travis/client/generated.rb', line 962

def repository
  # This is a placeholder.
end

#repository?Boolean

Wheather or not #repository returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


977
978
979
# File 'lib/travis/client/generated.rb', line 977

def repository?
  # This is a placeholder.
end

#restart(params = {}) ⇒ Object



1049
1050
1051
# File 'lib/travis/client/generated.rb', line 1049

def restart(params = {})
  # This is a placeholder.
end

#stageObject



1036
1037
1038
# File 'lib/travis/client/generated.rb', line 1036

def stage
  # This is a placeholder.
end

#stage?Boolean

Wheather or not #stage returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


1041
1042
1043
# File 'lib/travis/client/generated.rb', line 1041

def stage?
  # This is a placeholder.
end

#started_atObject

When the job started.



967
968
969
# File 'lib/travis/client/generated.rb', line 967

def started_at
  # This is a placeholder.
end

#started_at?Boolean

Wheather or not #started_at returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


992
993
994
# File 'lib/travis/client/generated.rb', line 992

def started_at?
  # This is a placeholder.
end

#stateObject

Current state of the job.



929
930
931
# File 'lib/travis/client/generated.rb', line 929

def state
  # This is a placeholder.
end

#state?Boolean

Wheather or not #state returns a truthy value (anything but ‘nil` or `false`).

Returns:

  • (Boolean)


987
988
989
# File 'lib/travis/client/generated.rb', line 987

def state?
  # This is a placeholder.
end