java.lang.Object
io.github.eggy03.ferrumx.windows.entity.user.User

public class User extends Object
Immutable representation of a user on a Windows system.

Fields capture basic user information such as username, home directory, and user directory. Instances are thread-safe and may be safely cached or shared across threads.

Usage examples


 // Build a new User
 User user = User.builder()
     .userName("john_doe")
     .userHome("C:\\Users\\john_doe")
     .userDirectory("C:\\Users\\john_doe\\Documents")
     .build();

 // Create a modified copy using the builder
 User updatedUser = user.toBuilder()
     .userName("jane_doe")
     .build();

 
Since:
2.0.0
Author:
Egg-03
  • Constructor Details

    • User

      public User()
  • Method Details