private function refreshState()
{
if (count($this->conflicts) > 0) {
$this->state = PathMappingState::CONFLICT;
} elseif (0 === count($this->filesystemPaths)) {
$this->state = PathMappingState::NOT_FOUND;
} else {
$this->state = PathMappingState::ENABLED;
}
}