Top Description Fields Constructors Methods
waffle.windows.auth.impl

public Class WindowsComputerImpl

extends Object
implements IWindowsComputer
Class Inheritance
All Implemented Interfaces
waffle.windows.auth.IWindowsComputer
Imports
com.sun.jna.platform.win32.LMJoin, .Netapi32Util, .Netapi32Util.LocalGroup, java.util.ArrayList, .List, waffle.windows.auth.IWindowsComputer

Windows Computer.
Author
dblock[at]dblock[dot]org

Field Summary

Modifier and TypeField and Description
private final String
computerName

The computer name.

private final String
domainName

The domain name.

Constructor Summary

AccessConstructor and Description
public
WindowsComputerImpl(final String
the new computer name
newComputerName
)

Instantiates a new windows computer impl.

Method Summary

Modifier and TypeMethod and Description
public String
public String[]
public String
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

computerNameback to summary
private final String computerName

The computer name.

domainNameback to summary
private final String domainName

The domain name.

Constructor Detail

WindowsComputerImplback to summary
public WindowsComputerImpl(final String newComputerName)

Instantiates a new windows computer impl.

Parameters
newComputerName:String

the new computer name

Method Detail

getComputerNameback to summary
public String getComputerName()

Implements waffle.windows.auth.IWindowsComputer.getComputerName.

Doc from waffle.windows.auth.IWindowsComputer.getComputerName.

Computer name.

Returns:String

String.

Annotations
@Override
getGroupsback to summary
public String[] getGroups()

Implements waffle.windows.auth.IWindowsComputer.getGroups.

Doc from waffle.windows.auth.IWindowsComputer.getGroups.

Groups.

Returns:String[]

Array of group names.

Annotations
@Override
getJoinStatusback to summary
public String getJoinStatus()

Implements waffle.windows.auth.IWindowsComputer.getJoinStatus.

Doc from waffle.windows.auth.IWindowsComputer.getJoinStatus.

Join status.

Returns:String

String.

Annotations
@Override
getMemberOfback to summary
public String getMemberOf()

Implements waffle.windows.auth.IWindowsComputer.getMemberOf.

Doc from waffle.windows.auth.IWindowsComputer.getMemberOf.

Member of (domain).

Returns:String

String.

Annotations
@Override