Examples of DriftFileDTO


Examples of org.rhq.core.domain.drift.dto.DriftFileDTO

        AssertUtils.assertCollectionMatchesNoOrder("The change set drifts were not copied correctly", expectedDrifts,
            actualDrifts, "changeSet", "newDriftFile");
    }

    private DriftFileDTO toDTo(JPADriftFile driftFile) {
        DriftFileDTO dto = new DriftFileDTO();
        dto.setHashId(driftFile.getHashId());
        dto.setDataSize(driftFile.getDataSize());
        dto.setStatus(driftFile.getStatus());
        return dto;
    }
View Full Code Here

Examples of org.rhq.core.domain.drift.dto.DriftFileDTO

            throw new RuntimeException("Failed to pin snapshot", e);
        }
    }

    private DriftFileDTO toDTO(DriftFile file) {
        DriftFileDTO dto = new DriftFileDTO();
        dto.setHashId(file.getHashId());
        dto.setStatus(file.getStatus());
        dto.setDataSize(file.getDataSize());

        return dto;
    }
View Full Code Here

Examples of org.rhq.core.domain.drift.dto.DriftFileDTO

        @Override
        public boolean equals(Object o) {
            if (this == o) return true;
            if (o == null || !(o instanceof DriftFileDTO)) return false;

            DriftFileDTO that = (DriftFileDTO) o;

            if (!getHashId().equals(that.getHashId())) return false;

            return true;
        }
View Full Code Here

Examples of org.rhq.core.domain.drift.dto.DriftFileDTO

        assertPropertiesMatch(newDriftFileDTO(entry.getOldFileHash()), actual.getOldDriftFile(),
                "Failed to map oldDriftFile property");
    }

    private DriftFileDTO newDriftFileDTO(String hash) {
        DriftFileDTO dto = new DriftFileDTO();
        dto.setHashId(hash);
        return dto;
    }
View Full Code Here

Examples of org.rhq.core.domain.drift.dto.DriftFileDTO

        return file;
    }

    private DriftFileDTO newDriftFile(String hash) {
        DriftFileDTO file = new DriftFileDTO();
        file.setHashId(hash);
        return file;
    }
View Full Code Here

Examples of org.rhq.core.domain.drift.dto.DriftFileDTO

        return dto;
    }

    private DriftFileDTO newDriftFileDTO(String hash) {
        DriftFileDTO dto = new DriftFileDTO();
        dto.setHashId(hash);
        return dto;
    }
View Full Code Here

Examples of org.rhq.core.domain.drift.dto.DriftFileDTO

        AgentClient agent = getAgentManager().getAgentClient(getSubjectManager().getOverlord(), resourceId);
        return agent.getDriftAgentService();
    }

    private DriftFileDTO newDriftFile(String hash) {
        DriftFileDTO file = new DriftFileDTO();
        file.setHashId(hash);
        return file;
    }
View Full Code Here

Examples of org.rhq.core.domain.drift.dto.DriftFileDTO

        file.setHashId(hash);
        return file;
    }

    private DriftFileDTO newDriftFile(String hash, DriftFileStatus status) {
        DriftFileDTO file = new DriftFileDTO();
        file.setHashId(hash);
        file.setStatus(status);
        return file;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.