Last active
July 6, 2019 08:17
-
-
Save athiththan11/07ca06da6eae5cd1019f3c57762c8aec to your computer and use it in GitHub Desktop.
Fabricator OSGi Component to generate and provide details about the OS and logged-in User
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Fact { | |
private String username; | |
private String os; | |
public Fact(String username, String os) { | |
this.setUsername(username); | |
this.setOs(os); | |
} | |
public String getUsername() { | |
return username; | |
} | |
public void setUsername(String username) { | |
this.username = username; | |
} | |
public String getOs() { | |
return os; | |
} | |
public void setOs(String os) { | |
this.os = os; | |
} | |
@Override | |
public String toString() { | |
return "Fact [os=" + os + ", username=" + username + "]"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment