com.github.javafaker.Job Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javafaker Show documentation
Show all versions of javafaker Show documentation
This library is a port of Ruby's stympy/faker gem (as well as Perl's Data::Faker library) that generates fake data.
It's useful when you're developing a new project and need some pretty data for showcase.
package com.github.javafaker;
public class Job {
private final Faker faker;
public Job(final Faker faker) {
this.faker = faker;
}
public String field() {
return faker.fakeValuesService().resolve("job.field", this, faker);
}
public String seniority() {
return faker.fakeValuesService().resolve("job.seniority", this, faker);
}
public String position() {
return faker.fakeValuesService().resolve("job.position", this, faker);
}
public String keySkills() {
return faker.fakeValuesService().resolve("job.key_skills", this, faker);
}
public String title() {
return faker.fakeValuesService().resolve("job.title", this, faker);
}
}