Java tutorial
/* * Copyright (c) 2016 ingenieux Labs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ package br.com.ingenieux.beanstalker; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; /** * Created by aldrin on 28/04/16. */ public class DeployerArgs { String accessKey; public String getAccessKey() { return accessKey; } public void setAccessKey(String accessKey) { this.accessKey = accessKey; } String secretKey; public String getSecretKey() { return secretKey; } public void setSecretKey(String secretKey) { this.secretKey = secretKey; } String applicationName; public String getApplicationName() { return applicationName; } public void setApplicationName(String applicationName) { this.applicationName = applicationName; } String commitId; public String getCommitId() { return commitId; } public void setCommitId(String commitId) { this.commitId = commitId; } String repoName; public String getRepoName() { return repoName; } public void setRepoName(String repoName) { this.repoName = repoName; } String targetPath; public String getTargetPath() { return targetPath; } public void setTargetPath(String targetPath) { this.targetPath = targetPath; } String region; public String getRegion() { return region; } public void setRegion(String region) { this.region = region; } String description; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("applicationName", applicationName) .append("accessKey", accessKey).append("description", description).append("commitId", commitId) .append("repoName", repoName).append("targetPath", targetPath).append("region", region).toString(); } }