public class

JobviteModule

extends Object
java.lang.Object
   ↳ org.mule.modules.jobvite.JobviteModule
Known Direct Subclasses
Known Indirect Subclasses

Class Overview

Jobvite can be used to get information about candidates and new hires for your company jobs.

Summary

Fields
private String apiKey The API key issued by Jobvite.
private String apiSecret The secret for this service, issued by Jobvite.
private String endpoint The Jobvite endpoint.
private JobviteClient jobviteClient
Public Constructors
JobviteModule()
Public Methods
String getApiKey()
Returns the apiKey.
String getApiSecret()
Returns the apiSecret.
Iterable<CandidateType> getCandidates(String candidateState, Date dateStart, Date dateEnd)
Get information about candidates.
String getEndpoint()
Returns the endpoint.
Iterable<NewHireType> getNewHires(Date dateStart, Date dateEnd)
Get information about new hires.
void init()
void setApiKey(String apiKey)
Sets the apiKey.
void setApiSecret(String apiSecret)
Sets the apiSecret.
void setEndpoint(String endpoint)
Sets the endpoint.
void setJobviteClient(JobviteClient jobviteClient)
void updateCandidates(Map<String, String> candidateUpdates)
Changes the status of a group of candidates.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private String apiKey

The API key issued by Jobvite.

private String apiSecret

The secret for this service, issued by Jobvite.

private String endpoint

The Jobvite endpoint. Production: https://api.jobvite.com/v1/ Staging: https://api-stg.jobvite.com/v1/

private JobviteClient jobviteClient

Public Constructors

public JobviteModule ()

Public Methods

public String getApiKey ()

Returns the apiKey.

Returns
  • with the apiKey.

public String getApiSecret ()

Returns the apiSecret.

Returns
  • with the apiSecret.

public Iterable<CandidateType> getCandidates (String candidateState, Date dateStart, Date dateEnd)

Get information about candidates.

Parameters
candidateState CandidateState
dateStart DateStart
dateEnd DateEnd
Returns
  • List of candidates

public String getEndpoint ()

Returns the endpoint.

Returns
  • with the endpoint.

public Iterable<NewHireType> getNewHires (Date dateStart, Date dateEnd)

Get information about new hires.

Parameters
dateStart DateStart
dateEnd DateEnd
Returns
  • List of candidates

public void init ()

public void setApiKey (String apiKey)

Sets the apiKey.

Parameters
apiKey With the apiKey.

public void setApiSecret (String apiSecret)

Sets the apiSecret.

Parameters
apiSecret With the apiSecret.

public void setEndpoint (String endpoint)

Sets the endpoint.

Parameters
endpoint With the endpoint.

public void setJobviteClient (JobviteClient jobviteClient)

Parameters
jobviteClient

public void updateCandidates (Map<String, String> candidateUpdates)

Changes the status of a group of candidates.

Parameters
candidateUpdates Map that for every entry, has for key the applicationId of the candidate (RecordInfoType -> id), and for value the new status for it (RecordInfoType -> status). Each entry it is a candidate update. Example of an entry: CandidateType candidate = some candidate; map.put(candidate.getCandidateRecordInfo().getId().get(0).getIdValue().get(0).getValue(), "Offer Accepted")