Class: SfCli::Sf::Data::JobInfo
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - SfCli::Sf::Data::JobInfo
 
 
- Defined in:
 - lib/sf_cli/sf/data/bulk_result_v2.rb
 
Overview
Bulk Job information.
You can check the job status using the following method:
- 
opened?
 - 
upload_completed?
 - 
in_progress?
 - 
completed?
 
See Also: the guide document
Instance Attribute Summary collapse
- 
  
    
      #apexProcessingTime  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute apexProcessingTime.
 - 
  
    
      #apiActiveProcessingTime  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute apiActiveProcessingTime.
 - 
  
    
      #apiVersion  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute apiVersion.
 - 
  
    
      #columnDelimiter  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute columnDelimiter.
 - 
  
    
      #concurrencyMode  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute concurrencyMode.
 - 
  
    
      #contentType  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute contentType.
 - 
  
    
      #createdById  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute createdById.
 - 
  
    
      #createdDate  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute createdDate.
 - 
  
    
      #externalIdFieldName  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute externalIdFieldName.
 - 
  
    
      #id  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute id.
 - 
  
    
      #isPkChunkingSupported  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute isPkChunkingSupported.
 - 
  
    
      #jobType  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute jobType.
 - 
  
    
      #lineEnding  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute lineEnding.
 - 
  
    
      #numberRecordsFailed  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute numberRecordsFailed.
 - 
  
    
      #numberRecordsProcessed  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute numberRecordsProcessed.
 - 
  
    
      #object  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute object.
 - 
  
    
      #operation  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute operation.
 - 
  
    
      #retries  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute retries.
 - 
  
    
      #state  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute state.
 - 
  
    
      #systemModstamp  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute systemModstamp.
 - 
  
    
      #totalProcessingTime  ⇒ Object 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Returns the value of attribute totalProcessingTime.
 
Instance Method Summary collapse
- #aborted? ⇒ Boolean
 - #completed? ⇒ Boolean
 - #failed? ⇒ Boolean
 - #in_progress? ⇒ Boolean
 - #opened? ⇒ Boolean
 - #upload_completed? ⇒ Boolean
 
Instance Attribute Details
#apexProcessingTime ⇒ Object
Returns the value of attribute apexProcessingTime
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def apexProcessingTime @apexProcessingTime end  | 
  
#apiActiveProcessingTime ⇒ Object
Returns the value of attribute apiActiveProcessingTime
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def apiActiveProcessingTime @apiActiveProcessingTime end  | 
  
#apiVersion ⇒ Object
Returns the value of attribute apiVersion
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def apiVersion @apiVersion end  | 
  
#columnDelimiter ⇒ Object
Returns the value of attribute columnDelimiter
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def columnDelimiter @columnDelimiter end  | 
  
#concurrencyMode ⇒ Object
Returns the value of attribute concurrencyMode
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def concurrencyMode @concurrencyMode end  | 
  
#contentType ⇒ Object
Returns the value of attribute contentType
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def contentType @contentType end  | 
  
#createdById ⇒ Object
Returns the value of attribute createdById
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def createdById @createdById end  | 
  
#createdDate ⇒ Object
Returns the value of attribute createdDate
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def createdDate @createdDate end  | 
  
#externalIdFieldName ⇒ Object
Returns the value of attribute externalIdFieldName
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def externalIdFieldName @externalIdFieldName end  | 
  
#id ⇒ Object
Returns the value of attribute id
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def id @id end  | 
  
#isPkChunkingSupported ⇒ Object
Returns the value of attribute isPkChunkingSupported
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def isPkChunkingSupported @isPkChunkingSupported end  | 
  
#jobType ⇒ Object
Returns the value of attribute jobType
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def jobType @jobType end  | 
  
#lineEnding ⇒ Object
Returns the value of attribute lineEnding
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def lineEnding @lineEnding end  | 
  
#numberRecordsFailed ⇒ Object
Returns the value of attribute numberRecordsFailed
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def numberRecordsFailed @numberRecordsFailed end  | 
  
#numberRecordsProcessed ⇒ Object
Returns the value of attribute numberRecordsProcessed
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def numberRecordsProcessed @numberRecordsProcessed end  | 
  
#object ⇒ Object
Returns the value of attribute object
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def object @object end  | 
  
#operation ⇒ Object
Returns the value of attribute operation
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def operation @operation end  | 
  
#retries ⇒ Object
Returns the value of attribute retries
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def retries @retries end  | 
  
#state ⇒ Object
Returns the value of attribute state
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def state @state end  | 
  
#systemModstamp ⇒ Object
Returns the value of attribute systemModstamp
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def systemModstamp @systemModstamp end  | 
  
#totalProcessingTime ⇒ Object
Returns the value of attribute totalProcessingTime
      17 18 19  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 17 def totalProcessingTime @totalProcessingTime end  | 
  
Instance Method Details
#aborted? ⇒ Boolean
      60 61 62  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 60 def aborted? state == 'Aborted' end  | 
  
#completed? ⇒ Boolean
      52 53 54  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 52 def completed? state == 'JobComplete' end  | 
  
#failed? ⇒ Boolean
      56 57 58  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 56 def failed? state == 'Failed' end  | 
  
#in_progress? ⇒ Boolean
      48 49 50  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 48 def in_progress? state == 'InProgress' end  | 
  
#opened? ⇒ Boolean
      40 41 42  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 40 def opened? state == 'Open' end  | 
  
#upload_completed? ⇒ Boolean
      44 45 46  | 
    
      # File 'lib/sf_cli/sf/data/bulk_result_v2.rb', line 44 def upload_completed? state == 'UploadComplete' end  |