Skip to content

Commit

Permalink
Updated to latest openremote submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
richturner committed Nov 9, 2023
1 parent d4fe3d3 commit aa23d16
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,44 +21,11 @@
package org.openremote.agent.custom;

import org.openremote.model.AssetModelProvider;
import org.openremote.model.asset.Asset;
import org.openremote.model.asset.AssetDescriptor;
import org.openremote.model.value.AttributeDescriptor;
import org.openremote.model.value.MetaItemDescriptor;
import org.openremote.model.value.ValueDescriptor;

import java.util.List;
import java.util.Map;

public class CustomAgentModelProvider implements AssetModelProvider {

@Override
public boolean useAutoScan() {
return true;
}

@Override
public AssetDescriptor<?>[] getAssetDescriptors() {
return new AssetDescriptor<?>[0];
}

@Override
public Map<Class<? extends Asset<?>>, List<AttributeDescriptor<?>>> getAttributeDescriptors() {
return null;
}

@Override
public Map<Class<? extends Asset<?>>, List<MetaItemDescriptor<?>>> getMetaItemDescriptors() {
return null;
}

@Override
public Map<Class<? extends Asset<?>>, List<ValueDescriptor<?>>> getValueDescriptors() {
return null;
}

@Override
public void onAssetModelFinished() {

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,11 @@
package org.openremote.model.custom;

import org.openremote.model.AssetModelProvider;
import org.openremote.model.asset.Asset;
import org.openremote.model.asset.AssetDescriptor;
import org.openremote.model.value.AttributeDescriptor;
import org.openremote.model.value.MetaItemDescriptor;
import org.openremote.model.value.ValueDescriptor;

import java.util.List;
import java.util.Map;

public class CustomAssetModelProvider implements AssetModelProvider {

@Override
public boolean useAutoScan() {
return true;
}

@Override
public AssetDescriptor<?>[] getAssetDescriptors() {
return new AssetDescriptor[0];
}

@Override
public Map<Class<? extends Asset<?>>, List<AttributeDescriptor<?>>> getAttributeDescriptors() {
return null;
}

@Override
public Map<Class<? extends Asset<?>>, List<MetaItemDescriptor<?>>> getMetaItemDescriptors() {
return null;
}

@Override
public Map<Class<? extends Asset<?>>, List<ValueDescriptor<?>>> getValueDescriptors() {
return null;
}

@Override
public void onAssetModelFinished() {

}
}
2 changes: 1 addition & 1 deletion openremote
Submodule openremote updated 446 files

0 comments on commit aa23d16

Please sign in to comment.