website.automate.teamcity.server.io.mapper.AccountMapper Maven / Gradle / Ivy
The newest version!
package website.automate.teamcity.server.io.mapper;
import website.automate.manager.api.client.model.Authentication;
import website.automate.teamcity.server.io.model.AccountSerializable;
import website.automate.teamcity.server.support.Mapper;
public class AccountMapper extends Mapper {
private static final AccountMapper INSTANCE = new AccountMapper();
public static AccountMapper getInstance() {
return INSTANCE;
}
@Override
public Authentication map(AccountSerializable source) {
return Authentication.of(source.getUsername(), source.getPassword());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy